- Home /
Water reflection: Reflecting skybox ground
My water shader is reflecting the 'ground' part of the skybox and causing these artifacts. I also tried using the standard shader with my normal map, and get the same results:
Anyone have any suggestions for solving this problem?
Answer by Namey5 · Sep 14, 2016 at 11:33 PM
Well, you have 3 solutions.
Change the colour of the skybox ground.
Create a reflection probe with a capture of some other kind of ground.
Use the SSR effect from the cinematic effects package.
This occurs because that is what would happen in real life. The angle of reflection at that particular point is in a downwards direction. Normally, this would reflect the objects surface, however the object is not included in the skybox reflection, and as such does not appear.
Thanks! I ended up using a skybox with a reflected horizon as well as added SSR to my shader. Here are the results:
That's how I normally get around it. $$anonymous$$ost of the time I don't really $$anonymous$$d (because my water is either a custom shader or not an ocean), but it can be annoying in certain cases. Just be wary that SSR is incredibly power intensive.
Your answer
Follow this Question
Related Questions
Errors with ENDCG in shaders 1 Answer
Skybox blending 2 Answers
Represent Land 3D Area End 0 Answers
Texture stretching on one axis. Skybox Shader help. 1 Answer
Different wave speeds 1 Answer