Underwater effects

So first of all I wasn’t sure in which category to put this so I thought this would be the best fitting.

To get to the problem I’m currently facing, back when I was new to developing I had that idea to make a game which is like Mount Everest Climbing but instead of a mountain you explore underwater caves. I’m currently revamping it to look good and making actual scripts for it, but I’m facing the problem of sight because I want it to be clear on land but when you get underwater your sight should be more blurry and not as far but I have no Idea how to change the viewing distance underwater because fog seems to have no effect

2 Likes

Have you tried atmosphere instead of fog?

1 Like

I have, I tried using fog and Atmosphere even changing their settings to have no sight outside of water but under water you can see 10 miles.

There was a studio beta feature that let you change visibility in water.

1 Like

to make it blurry underwater just put a ‘blur’ effect inside camera and use a script to change that whenever you want

I know that you can use blur, the problem is the visibility under water in terms of viewing range cause I don’t like that you can see so far

1 Like

solution would be: anchor some fog particle emitter or whatever to the player once the player enters water and put it as far as you want the player to see. then the player will see up until the fog, and the fog will block all further seeing. its sort of how when you dont want to cause lag in a game, instead of have rain particle emitters everywhere, just anchor one particle to each player

1 Like

Terrain water has its’ own “fog”. You can modify it via going to Terrain and changing the transparency. Although it can be terrible to look at if the player is at the surface so you might wanna have a script for that.

For the blur, you can use Depth of Field BUT it can only work on max or high graphics.

2 Likes

The problem was I didn’t have water transparency low enough If I would have played around more it would have worked. Thank you!