diff options
| author | yum <yum.food.vr@gmail.com> | 2023-04-13 19:25:37 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2023-04-13 19:25:37 -0700 |
| commit | 81b4642eeedaed6765ccb07c435fbc34e351f2ce (patch) | |
| tree | 343263e8c43499623454c1ca586dfce34b1464cc /README.md | |
| parent | 5eda07e2c287b5b3e609129fc41b278b680cbcae (diff) | |
Add displacement shader
See README.md.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -20,3 +20,21 @@ In these demos, I have the shader on a quad. Full demo video [here](https://youtu.be/WvPdqxmrZzI). +## Displacement + + + +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). + |
