I'm trying to send a boolean to an OpenGL glsl shader. Currently I have this in the shader: uniform bool foo;. And I use this to set it:
確定! 回上一頁