0
Not a bug

Weird alpha effect

André 7 років тому оновлений 7 років тому 1

Hi! I'm trying to create a water shader. I'm using tesselation to subdivide it and then a displacement map to create waves. When the camera is between two waves, the water looks really weird as seen in the picture. I'm guessing it's got something to do with the transparency. Could i somehow make it so that the water is not seen through itself?

Image 767

Відповідь

Відповідь
Not a bug

I figured it out. When I checked "Write to depth buffer" it worked as intended :)

Відповідь
Not a bug

I figured it out. When I checked "Write to depth buffer" it worked as intended :)