Question by
GarrettShields · Apr 04, 2016 at 02:04 PM ·
shadershaderswaterrefraction
Weird bug with the refraction on my water shader
I have refraction working for objects that are under my water, but it's also applying the same effect to objects in front of it. I guess I need some way to tell the shader to only apply this affect to things on one side of it?
This is the relevant part of my shader for refraction.
ss2016-04-04at094647.png
(50.7 kB)
ss2016-04-04at094926.png
(117.6 kB)
Comment