ProjectDDD/Assets/StylizedWater2/Shaders/SubGraphs
2025-05-30 18:12:31 +09:00
..
Readme.txt 에셋 추가 2025-05-30 18:12:31 +09:00
Readme.txt.meta 에셋 추가 2025-05-30 18:12:31 +09:00
Sample Water Height.shadersubgraph 에셋 추가 2025-05-30 18:12:31 +09:00
Sample Water Height.shadersubgraph.meta 에셋 추가 2025-05-30 18:12:31 +09:00
Sample Water Normal.shadersubgraph 에셋 추가 2025-05-30 18:12:31 +09:00
Sample Water Normal.shadersubgraph.meta 에셋 추가 2025-05-30 18:12:31 +09:00

These sub-graphs require the Stylized Water 2 render feature to be active and the "Displacement Prepass" functionality enabled on it.

If so, the water geometry's height (including any displacement effects) is rendered into a buffer.

This allows other shaders to sample the water's height information this way. May be used for various effects.

* Note: Only water geometry on the "Water" layer is rendered into this buffer!
* Height data is represented per-pixel, so discrepancies between this data and the actual height of a vertex is to be expected.