autohide cursor

This commit is contained in:
ntr committed 2022-06-05 21:19:18 +10:00
1 parent 373baed62b
commit 0df6510da7
10 files changed
+89 -20

No files matched your search

+2 -2
View File
@@ -211,8 +211,8 @@ Material:
- _SpecularAAScreenSpaceVariance: 0.1
- _SpecularAAThreshold: 0.2
- _SpecularOcclusionMode: 1
- _SphereSize: 0.94285715
- _SphereStretch: 0.5928571
- _SphereSize: 0.9785714
- _SphereStretch: 0.6
- _SrcBlend: 1
- _StencilRef: 0
- _StencilRefDepth: 8
@@ -152,10 +152,14 @@ Shader "FullScreen/GeneDrive"
// camera coordinates
float2 uv = guv;
float3 eye = float3(sin(time * 0.1) * 5.0, cos(time * 0.1) * 5.0 + 0.5, 1.0);
float tau = 6.283185307179586;
float3 eye = float3(0.0, 0.0, 0.0);
// float3 at = float3(sin(time * 0.1) * tau, cos(time * 0.1) * tau + 0.5, sin(time * 0.1) + 0.2 * tau);
float3 at = float3(sin(time * 0.1) * tau, cos(time * 0.1) * tau + 0.5, sin(time * 0.1) + 0.2 * tau);
// float3 eye = float3(5.0, 5.0, 1.0);
float3 at = float3(0.0, 0.0, 0.0);
// float3 at = float3(0.0, 0.0, 0.0);
float3 z = normalize(at-eye);
float3 x = normalize(cross(z, float3(0.0,1.0,0.0)));
float3 y = cross(x, z);