阅读背景:

一般如何使用着色器制服?

来源:互联网 

Shaders can have lots of different uniform names + attributes. How can I make a system which works in general case so that I do not have to know each shader uniform's name beforehand and hardcode it to code to get its location. I use OpenGL.Shaders can have lots of different uniform name




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

分享到: