diff options
| author | yum <yum.food.vr@gmail.com> | 2023-04-14 03:45:44 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2023-04-14 04:14:06 -0700 |
| commit | 6a14a2dd1dd5208c7cb1ea04c49d759484121ce7 (patch) | |
| tree | 69e9f9f0f102ebbbc8a1ec5c2998d9c6ef415e42 /Demos | |
| parent | 7fffb7c8ec8101020972bc811459d8d481bfae6e (diff) | |
Fix normal calculation in displacement shader
Recompute normals after generating the deformed mesh. Unfortunately,
significant anti-aliasing is required to get the generated normals to
look smooth in motion.
* Enable backface culling.
Diffstat (limited to 'Demos')
| -rw-r--r-- | Demos/displacement_demo.gif | bin | 4717920 -> 4899631 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/Demos/displacement_demo.gif b/Demos/displacement_demo.gif Binary files differindex 90ba0d0..951b01f 100644 --- a/Demos/displacement_demo.gif +++ b/Demos/displacement_demo.gif |
