Jump to content

Improving caustics postFX


Recommended Posts

The caustics postFX always annoyed me, it is a nice addition, the problem is just that it is in full strength everywhere.

It simulates the light shining through the waving water surface producing reflections on the ground, but it should decrease the deeper you go into the water, since the light intensity decreases with depth.

How hard would that be to program? I don't know much about shaders, but what I imagined is to have the whole effect decrease over distance in the z-axis, like 100% intensity at 1 meter then it decreases until it reaches 0% at 20 meter water deep or so.

Currently I made a workaround by just decreaseing the overall strength of the effect, it helps a bit.

Another small problem I have with caustics is that the intensity changes depending on your look angle, the effect is fully visible if you look straight ahead, but the more to the ground you look the more the effect disappears and if you look 90 degree straight down, it is completely invisible. So why is that? How hard would it be to fix?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...