diff --git a/assets/shader.wgsl b/assets/shader.wgsl index 5d7da8c..6b8510b 100644 --- a/assets/shader.wgsl +++ b/assets/shader.wgsl @@ -49,7 +49,7 @@ fn vertex(vertex: Vertex) -> VertexOutput { let prime = f32(vertex.i_prime); - let scale = (0.2 + (sin(2.0 * time + prime * 0.1) + 1.0) / 2.0) * zoom_scale() * (1.0 + 0.0000001 * prime); + let scale = 0.1 * (0.2 + (sin(2.0 * time + prime * 0.1) + 1.0) / 2.0) * zoom_scale() * (1.0 + 0.0000001 * prime); let color = vec4( gamma_function(1.5 + 0.5 * (sin(1.0 * time + prime * 0.0008) + 1.0) / 2.0), gamma_function(1.5), @@ -59,8 +59,8 @@ fn vertex(vertex: Vertex) -> VertexOutput { let angle = prime % (PI * 2.0); let position = scale * vertex.position + vec3( - prime * cos(angle - 0.002 * time) / 50.0, - prime * sin(angle - 0.002 * time) / 50.0, + prime * cos(angle - 0.002 * time) / 500.0, + prime * sin(angle - 0.002 * time) / 500.0, 0.0, ); diff --git a/src/camera.rs b/src/camera.rs index 7e1d575..7451331 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -21,7 +21,7 @@ impl Default for GameCameraBundle { projection: OrthographicProjection { far: 1000., near: -1000., - scaling_mode: ScalingMode::FixedVertical(1024.0), + scaling_mode: ScalingMode::FixedVertical(102.40), ..Default::default() }, tonemapping: Tonemapping::TonyMcMapface,