Disable Shadow on Ocean

Hi guys,

I am using the WaterBodyOcean

I would like my Ocean to not receive any shadows

I already tried to change some settings in the Rendering section but I can’t find the solution

I would really appreciate any help, thank you :pray:

1 Like

Up :pray:

1 Like

Hey there @Gastouuu! I had to test and verify if using lighting channels worked around this, but apparently they don’t work for this use case. So since the water system’s material relies on being lit, you’d have to change the entire way the water material is setup to be able to swap to an unlit material mode necessary to remove all shadows.

2 Likes

Hey, thanks for your help!

Seems a bit complicated, I’ll see if I can find another solution

I have blocky shadows on my ocean and the solution stated here Blocky shadows on Single Layer Water - #10 by Arkiras doesn’t work for me.

I added this:

r.Water.SingleLayer.DepthPrepass=1
r.Water.SingleLayer.ShadersSupportVSMFiltering=1
r.Water.SingleLayer.VSMFiltering=1

in my DefaultEngine, build all levels and recompile shaders but it didn’t worked :confused: