Test_ShaderGraphBlog icon indicating copy to clipboard operation
Test_ShaderGraphBlog copied to clipboard

Flickering Water

Open cruxifo opened this issue 6 years ago • 1 comments

After downloading this project I found the water 'flickers' - each frame a random 5% of the surface decides to be transparent. Still image attached - every second looks like that but with different bits missing.

The project is exactly as downloaded, running on a sturdy and up-to-date macbook pro. screenshot 2019-02-17 at 01 34 45

cruxifo avatar Feb 17 '19 01:02 cruxifo

probably a bit late to help you, but maybe this helps someone else one day... the transparent patches are due to NaN after the Power nodes when creating the sine waves. Adding a clamp node before the Power and then anisNaN node after will fix it, i'm not sure why both are needed...

AlaskaMirabeau avatar Feb 07 '23 13:02 AlaskaMirabeau