With declaration of GLSL version in vertex/fragment shader, like #version 120, You mustn't directly set varying variable or an error C7563 will occur.If you wish to change components of it, initialize another variable by this varying variable and then take
operations on this new created one.
GLSL varying variable
最新推荐文章于 2025-02-25 09:26:53 发布