summaryrefslogtreecommitdiff
path: root/workspaces/main/shaders/particle_render.wgsl
diff options
context:
space:
mode:
Diffstat (limited to 'workspaces/main/shaders/particle_render.wgsl')
-rw-r--r--workspaces/main/shaders/particle_render.wgsl5
1 files changed, 3 insertions, 2 deletions
diff --git a/workspaces/main/shaders/particle_render.wgsl b/workspaces/main/shaders/particle_render.wgsl
index 6a2b636..dd83220 100644
--- a/workspaces/main/shaders/particle_render.wgsl
+++ b/workspaces/main/shaders/particle_render.wgsl
@@ -1,3 +1,4 @@
+// Particle rendering (vertex + fragment) - V2
struct Particle {
pos: vec4<f32>,
vel: vec4<f32>,
@@ -5,10 +6,10 @@ struct Particle {
color: vec4<f32>,
};
-#include "common_uniforms"
+#include "sequence_uniforms"
@group(0) @binding(0) var<storage, read> particles: array<Particle>;
-@group(0) @binding(1) var<uniform> uniforms: CommonUniforms;
+@group(0) @binding(1) var<uniform> uniforms: UniformsSequenceParams;
struct VSOut {
@builtin(position) pos: vec4<f32>,