阅读背景:

如何传递非插值数据OpenGL ES(GLSL)

来源:互联网 

I'm trying to pass simple FLOAT value from vertex to fragment shader. How can I pass it "as is" without interpolation? On desktop I could use flat varying to disable interpolation, is there something similar in openGL es or the only way is through texture?I'm trying to pass simple FLOAT value from vert




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

分享到: