added random seed
All checks were successful
CI / React UI Build (push) Successful in 11s
CI / Native Windows Build And Tests (push) Successful in 1m33s
CI / Windows Release Package (push) Successful in 2m11s

This commit is contained in:
2026-05-08 13:38:27 +10:00
parent 5eff189bbf
commit 7035cde8c8
10 changed files with 35 additions and 29 deletions

View File

@@ -36,7 +36,7 @@
"id": "backgroundMix",
"label": "Background Mix",
"type": "float",
"default": 0.15,
"default": 0.0,
"min": 0.0,
"max": 1.0,
"step": 0.01

View File

@@ -75,7 +75,7 @@ float4 shadeVideo(ShaderContext context)
float3 rayOrigin = float3(0.0, 0.0, 2.7);
float3 rayDirection = normalize(float3(centeredUv, -2.1));
float spin = context.time * spinSpeed;
float spin = context.time * spinSpeed + context.startupRandom * 6.2831853;
float yaw = spin;
float pitch = spin * 0.61 + 0.35;