Advertisement

Partial texture with default color if texture is not available.

Started by April 24, 2020 02:38 AM
1 comment, last by _WeirdCat_ 4 years, 9 months ago

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.

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

This topic is closed to new replies.

Advertisement