added random seed
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user