Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 1.04 KB

README.md

File metadata and controls

22 lines (15 loc) · 1.04 KB

URPUnderwaterEffects

An implementation of underwater effects that show under the water line.

How to use

Download the lates release or download from the green code button.

Make sure that your water plane has the HorizonLineDraw layer (case sensitive).

In your URP render settings, click add feature and choose Horizon Line Texture and any of the additional effects shown. Make sure that the horizon texture pass is the first pass called. It should work after that.

Extenstion

If you wish to add more effects on top of the existing ones, you need to sample the _HorizonLineTexture. This lets you seperate the waterline from the air above the water.

Cotributions

If you wish to contriubute to this repo, feel free to make a pull request.

Demo

Distortion Caustics Sunrays