0
Не ошибка

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

Ответ

Ответ
Не ошибка

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

Ответ
Не ошибка

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

Сервис поддержки клиентов работает на платформе UserEcho