diff options
| author | yum <yum.food.vr@gmail.com> | 2025-11-04 21:50:42 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-11-04 21:50:42 -0800 |
| commit | 672a7acca1f0401de7ac0ac94d3379081fa363e6 (patch) | |
| tree | 1fed9ab4791de35d9fdc69bdff437fea2223349e /vertex_deformation.slang | |
| parent | ac78ce59232f698dfd721b0048336cd346612613 (diff) | |
begin work on marching in vert/domain shaders (NOT WORKING)
Diffstat (limited to 'vertex_deformation.slang')
| -rw-r--r-- | vertex_deformation.slang | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vertex_deformation.slang b/vertex_deformation.slang index 36d09fb..047f7d7 100644 --- a/vertex_deformation.slang +++ b/vertex_deformation.slang @@ -197,7 +197,7 @@ float3 rand3_hash3(float3 p) p = float3(dot(p, float3(127.1, 311.7, 74.7)), dot(p, float3(269.5, 183.3, 246.1)), dot(p, float3(113.5, 271.9, 124.6))); - return frac(sin(p) * 43758.5453123)*2-1; + return frac(sin(p) * 43758.5453123); } [Differentiable] |
