阅读背景:

如果未绑定,是否在GLSL着色器中保留统一值?

来源:互联网 

I am making a program that uses two different shaders for different different primitives. My question is, if I bind a program, send it uniform variables, then use another shader program and come back to the first one, will the passed uniform values remain? Here is some pseudocode:I am making a program that uses two different s




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: