Skip to content

Commit 8e751b0

Browse files
committed
2 parents 9c6bcae + 21c8039 commit 8e751b0

File tree

1 file changed

+4
-38
lines changed

1 file changed

+4
-38
lines changed

README.md

+4-38
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,18 @@
11
# URPUnderwaterEffects
22
An implementation of underwater effects that show under the water line.
33

4-
# Instalation
5-
Download the files by clicking the green Code button on the top right corner of this repo. Extract the zip file and drag the folder into your assets of your unity project.
6-
7-
# Legal Stuff
8-
Feel free to use this in anything commercial or personal. Credit would be greatly appreciated but isn't required.
9-
104
# How to use
11-
In your URP render settings, click add feature and choose Horizon Line Texture and
12-
any of the additional effects shown. Set the Horizon Line Texture render pass event to before post processing and set
13-
the additional effect's render pass events to before post processing. Make sure that the horizon texture pass is the first pass called. It should work after that.
14-
15-
## Make sure that your water plane has the HorizonLineDraw layer (case sensitive).
165

17-
If you are using hlsl (urp shader code), make sure your shader has the following snippet in the pass or subshader blocks.
6+
Download the lates release or download from the green code button.
187

19-
```hlsl
20-
Blend SrcAlpha OneMinusSrcAlpha
21-
LOD 300
22-
23-
Tags
24-
{
25-
"Queue" = "Transparent"
26-
"RenderType" = "Transparent"
27-
"RenderPipeline" = "UniversalRenderPipeline"
28-
}
29-
```
8+
## Make sure that your water plane has the HorizonLineDraw layer (case sensitive).
309

31-
If you are using shader graph, make sure your graph settings look like this:
32-
![Shader graph settings](https://github.com/End3r6/URPUnderwaterEffects/blob/master/Screenshots/ShaderGraphSettings.png)
10+
In your URP render settings, click add feature and choose Horizon Line Texture and
11+
any of the additional effects shown. Make sure that the horizon texture pass is the first pass called. It should work after that.
3312

3413
# Extenstion
3514
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.
3615

37-
# Roadmap
38-
* [x] Caustics
39-
* [x] Distortion
40-
* [x] Sunrays
41-
* [ ] Better Waterline Transition
42-
* [x] Bubbles
43-
44-
# Maybe (Doesn't seem to fit the vfx theme of this project)
45-
* [ ] Plants
46-
* [ ] Rocks
47-
* [ ] Sand Textures
48-
* [ ] Fish
49-
5016
# Cotributions
5117
If you wish to contriubute to this repo, feel free to make a pull request.
5218

0 commit comments

Comments
 (0)