Hi, I try to set alpha in fragment.fx with code : gl_FragColor = vec4(finalColor, 0.4); but it displays almost white, not transparency. BTW, the shader works well. How can I set transparency in fragment.fx? Thanks for your help.
Hi, I want to use a mirror texture in fragment.fx for rendering water. I created mirror texture and set it to the uniform sampler, but it's black. However, it works well if I set an other texture. It is ok if I use the same mirror texture for a plane without using shader. Thanks for your help.