Interactive Caustics Created for Custom Unity Shader

Interactive Caustics Created for Custom Unity Shader


If you can’t go on a vacation to a beautiful island at the moment, you can at least enjoy Ashen One HP’s HPWater, now improved with interactive caustics.

This custom Unity shader for realistic water now reacts naturally to touch and casts circles around fallen objects. 

To create the effect, the artist rendered Depth and Normal GBuffers from the cascaded views and used ray marching with Atomic Add operations to accumulate intensity into a texture.

“After that, I apply denoising, mipmap generation, and absorption. Finally, during the CSM sampling stage, I simulate chromatic dispersion based on the cascaded water normals.”

If you enjoy this project, follow Ashen on Reddit for more.



Source link

More Reading

Post navigation

back to top