@steph wrote:
Playing with shaders, in cocos 3.13.1 JS, i see millions of that lines in console, regardless of the platform (osx,android and ios).
cocos2d: warning: Uniform not found: u_color
Can i get rid of this somehow?
what i tired so far:
shader.setUniformFloat("u_color", ....)or in vertex shader:
uniform float u_color;nothing seems to work, somehow i am afraid that this logging would cost performance, or that that what leads to this logging could be avoided, to save cycles.
Any ideas? Thank you in advance,
steff
Posts: 1
Participants: 1