Open skbizport opened 12 years ago
Shader might check for a boolean variable for either using texture or color. So, texture object need not be created during setup. Current code does not handle it. It tries to call uniforms[ name ].data.init() in compiler.createUniforms(..) function
I'm not really following... A texture is a texture and you use a vec3 or vec4 if you like a color. Or? :)
Shader might check for a boolean variable for either using texture or color. So, texture object need not be created during setup. Current code does not handle it. It tries to call uniforms[ name ].data.init() in compiler.createUniforms(..) function