Opaque textures after switch to VSG 1.1.4 #1210
-
Hello, I was loading my textures with stbi like this:
and everything worked fine, but when i switched to VSG 1.1.4, textures with alpha channel that had trasparent parts were shown with black or white rectangle like thay hadn't alpha channel |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You don't provide any information about the shaders you are using or what you switched from so I can only guess what might be relevant. If you are using the built-in ShaderSet then perhaps the change to require VSG_ALPHA_TEST (equivilant to GL_ALPHA_TEST in OpenGL) for enabling the alpha test in the shaders. I wrote about the change on this post: #1168 |
Beta Was this translation helpful? Give feedback.
You don't provide any information about the shaders you are using or what you switched from so I can only guess what might be relevant.
If you are using the built-in ShaderSet then perhaps the change to require VSG_ALPHA_TEST (equivilant to GL_ALPHA_TEST in OpenGL) for enabling the alpha test in the shaders. I wrote about the change on this post: #1168