shanecelis/water-demo

no lighting in the refraction

nbac opened this issue · 2 comments

nbac commented

You are not mentioning this in the BUGS but one major issue/ difference to the original demo is, that you don´t see lighting in the refraction / from above.

@nbac That can be solved easily.

Edit Water.shader so it includes the property causticTex("Caustics", 2D) = "white" {}

And remember to add the caustics RenderTexture on the inspector for the Water material.

Voila:
image

Thank you. Fix added in commit 4268259.