Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not leave texture object null #9

Open
skbizport opened this issue Feb 4, 2012 · 1 comment
Open

Can not leave texture object null #9

skbizport opened this issue Feb 4, 2012 · 1 comment

Comments

@skbizport
Copy link

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

@empaempa
Copy link
Owner

empaempa commented Feb 4, 2012

I'm not really following... A texture is a texture and you use a vec3 or vec4 if you like a color. Or? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants