summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2023-04-13 19:25:37 -0700
committeryum <yum.food.vr@gmail.com>2023-04-13 19:25:37 -0700
commit81b4642eeedaed6765ccb07c435fbc34e351f2ce (patch)
tree343263e8c43499623454c1ca586dfce34b1464cc /README.md
parent5eda07e2c287b5b3e609129fc41b278b680cbcae (diff)
Add displacement shader
See README.md.
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
index 86c1541..882a6c0 100644
--- a/README.md
+++ b/README.md
@@ -20,3 +20,21 @@ In these demos, I have the shader on a quad.
Full demo video [here](https://youtu.be/WvPdqxmrZzI).
+## Displacement
+
+![Displacement demo](Demos/displacement_demo.gif)
+
+A simple displacement shader.
+
+* Displacement height is specified with a texture.
+* Height texture can be translated at configurable X/Y speeds, giving a
+ flowy effect.
+* Height can be masked to concentrate height mapping into specific areas.
+* A built-in center-out effect is available.
+* Basic physically-based shading is implemented (albedo with alpha, normal,
+ roughness, metallic, cubemap).
+
+In these demos, I have the shader on a 100x100 plane.
+
+Full demo video [here](https://youtu.be/Giui4aCjtI0).
+