Question about Water.js and fog

So a pretty simple question I’m using Water.js to make water and I want to know if you can make it “react” so fog: true ?

Hi!
Both Water.js and Water2.js have chunks for fog in shaders.
But what do you mean with “react”?

i mean so it reacts with fog and the fog can be seen on it, so like how fog reacts with a normal object

So you tried to set fog: true on the object and it doesn’t react to fog?

1 Like

Do you know when you ask a question and are expecting a really complex answer to something simple (I’ve had it alot in three) but then the answer ends up being the simplest thing you didn’t even try because you thought it won’t be that it’ll be some shader related thing well this is one of them moments, thanks

4 Likes