summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd/shaders
diff options
context:
space:
mode:
authordanboo <dan@boorstein.net>2022-09-29 13:56:26 -0800
committerdanboo <dan@boorstein.net>2022-09-29 13:56:26 -0800
commiteba8be6e45906a7e1f2cd490188f13450fadfd4d (patch)
treee1592d147d949b5dfe84587daf86018939f996ea /servers/rendering/renderer_rd/shaders
parentf8745f2f71c79972df66f17a3da75f6e328bc55d (diff)
Fix typo - "collison" -> "collision"
Diffstat (limited to 'servers/rendering/renderer_rd/shaders')
-rw-r--r--servers/rendering/renderer_rd/shaders/particles.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/renderer_rd/shaders/particles.glsl b/servers/rendering/renderer_rd/shaders/particles.glsl
index fb5759bc17..3a6dd579b9 100644
--- a/servers/rendering/renderer_rd/shaders/particles.glsl
+++ b/servers/rendering/renderer_rd/shaders/particles.glsl
@@ -475,7 +475,7 @@ void main() {
float particle_size = FRAME.particle_size;
-#ifdef USE_COLLISON_SCALE
+#ifdef USE_COLLISION_SCALE
particle_size *= dot(vec3(length(PARTICLE.xform[0].xyz), length(PARTICLE.xform[1].xyz), length(PARTICLE.xform[2].xyz)), vec3(0.33333333333));