This asset adds caustics effects which is essential for realistic underwater expressions to existing scenes easily.
➡ Manual PDF
This asset contains two modules.
Texture Generator & Effect for URP.
■ 1. Water Caustics Tex Generator [ URP / HDRP / Built-inRP ]
・Generates rich, realistic water caustics animated textures at runtime.
・If using only this generator, any render pipeline can be used. (However it is designed to be used in linear color space. If used in gamma color space, raise the value to a power of 1/2.2 at using.)
■ 2. Water Caustics Effect [ URP ]
・Supports only URP (Universal Render Pipeline).
・Apply caustics effects by specifying an area and a layer.
・Most opaque materials can get the effect without any modification.
・The vertex deformation shader and the alpha blending shader can get the effect by embedding custom functions into the shader. The Custom functions are supported for Shader Graph, HLSL scripting, and Amplify Shader Editor.
・Supports up to 9 Directional, Spot, and Point Lights. (Complies with URP specifications)
・Screen space shadows, added in URP 11.0 are supported.
[ Unity 2020.3 LTS or higher supported ] (Tested on 2020.3.13f1, 2021.1.14f1, 2021.2.0b4)
[ PC / MAC / iOS / Android / Switch supported ] (Compute Shader supported devices)
[ DX11,12 / Metal / Vulkan supported ] (OpenGL and OpenGL ES have not been tested and are not supported.)
※ 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.
※ Please let me know if you encounter any problems. I will try to fix it as soon as possible.