water reflections & occlusion culling

With occlusion culling baked, my water reflections in Unity 5 “flicker” on/off depending on camera angle. Bad occlusion culling settings on my part or a bug?

I see potentially the same problem with some googling but no answers, any idea?

I have seen same issue in unity 5. Curious to know how to fix.

FWIW, to “solve” this, I ended up editing the standard assets water script so that I disable occlusion culling in the reflection and refraction cameras through code.

There’s gotta be a way to set this up correctly? Do people simply not use reflective water and occlusion culling together or am I missing something obvious here?

The reflection camera culls out objects that are right there on the shore of the water and not blocked by anything (at least as far as the main camera goes). The object itself will stay there but the reflection is gone. Oh well.

1 Like

I guess at this point this is a confirmed bug? Does anyone have any news about when this might be solved? Not having reflecting water in Unity seems like a pretty big issue.

Curious how you fixed this with script? Im using a mirror shader based off the water reflections and im having the same issue. Dont know enough about coding to figure out how to disable OC on the reflection.

Having this same issue in 2019.3 any ideas to what caused the problem? it was previously working fine as well and im not sure what ive changed that has caused it. The reflections for me only turn on when the water is on the edge of the screen and nearly out of view?

Holy crap! Now that is strange.

I half figured it out, I had other cameras active in the scene that it did not like and was pretty much carving a player shaped chunk out of the water. Now after disabling the other cameras water reflections work fine for all the water in my scene apart from one medium sized lake that still has the original problem. Not a bloody clue, half starting to think the Unity dev’s mess with us when they are bored Mind I always had a way of finding the most unique bugs in things :stuck_out_tongue:

1 Like