‥∴∵ Thanks 500+ downloads ∵∴‥
This asset easily adds the beautiful caustics essential for realistic water representation.
➡ Manual PDF
This asset contains two modules:
a Texture Generator and an Effect.
■ 1. Water Caustics Tex Generator [ URP / HDRP / Built-inRP ]
•Generates rich, realistic caustics animated textures at runtime by simulating waves and light refraction with Compute Shader.
•Possible to create not only realistic but also cartoon-like expressions.
•This generator works with all rendering pipelines.
•All parameters modifiable via script.
•[Features] 4 Wave Layers, 3 Drawing Styles, Chromatic Aberration, Blur, Directional Blur, RGB Color Shift, Gamma, Brightness Adjustment, etc.
■ 2. Water Caustics Effect [ URP(3D) only ]
•Apply caustics effects using the camera's depth and normal textures.
•VR supported.
•Forward、Forward+ and Deferred rendering supported.
•All parameters modifiable via script.
•It is also possible to apply individually by embedding Custom Function in shaders. Materials that are not rendered in depth textures, such as transparent textures, can be applied with this method. (Shader Graph, HLSL, and Amplify Shader Editor supported.)
•[Features] Range specification by Rectangle/Image/Stencil mask, Attenuation by Depth and Distance, Random Texture Tiling, Texture Rotation, RGB Color Shift, Transparency Effect, Draw Timing Adjustment, etc.
[ Unity 2020.3 LTS or higher supported ]
[ PC / MAC / iOS / Android / Switch / Quest2 tested]
[ DX11,12 / Metal / Vulkan / OpenGL / GLES3.1 supported ]
※ Tested with Unity 2020.3.20, 2021.3.33, 2022.3.22, 6000.0.28
※ WebGL is not supported because it does not support Compute Shader.
※ All code is included.
※ The specification of URP is still in flux. Therefore, please be aware that it may not work in the future when the URP version is upgraded.
※ If you encounter problems, please first check the Troubleshooting of Manual PDF, and if not resolved, please let me know in this way. I will support you as soon as possible.
mail: support_asset@hacoapp.com
twitter: @m_hakozaki