I am figuring out how to display texture with default color if texture is not available. That is useful to display partial texture object on the screen. Does anyone have any good GLSL shader examples? I googled some but can't find any good sources so far.
Partial texture with default color if texture is not available.
What you mean by texture is not avil?
Anyeay pass an integer value to an uniform to the shader so the shaders knows whenever your tex is avil or not
Master & Mentor
https://sites.google.com/site/customprog/
https://sites.google.com/site/customprog/
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement