Hi embers,
As you can see on this screen capture, the shader uniforms are iResolution, iMouse and iGlobalTime.
getActiveUniforms() returns only ciModelViewProjection(from the vertex shader, ok) and iResolution.
Do you know why?
Hi embers,
As you can see on this screen capture, the shader uniforms are iResolution, iMouse and iGlobalTime.
getActiveUniforms() returns only ciModelViewProjection(from the vertex shader, ok) and iResolution.
Do you know why?
iMouse and iGlobalTime are not used in the shader, and I assume they are optimized away. They will appear once you use them.
For the same reason as above vec4 tex
is not used, so it is optimized away, including the reference to iChannel0
.
oh I guess Iām tired
so getActiveUniforms() is really powerful!
thank you
Happy birthday, Bruce!