From 8e491737f27819f7fdf1731c3c4f196a1cc4948a Mon Sep 17 00:00:00 2001 From: micuat Date: Fri, 6 Nov 2020 15:49:11 +0100 Subject: [PATCH] param --- zoneb/bin/data/shaders/particles/update.frag | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zoneb/bin/data/shaders/particles/update.frag b/zoneb/bin/data/shaders/particles/update.frag index f385b7c..9410b90 100755 --- a/zoneb/bin/data/shaders/particles/update.frag +++ b/zoneb/bin/data/shaders/particles/update.frag @@ -204,7 +204,7 @@ void main() } else if (target.w > 0) { // targeted // if(target.w >= 1) - age += 0.005; + age += 0.002; if(target.w < 1) { if(mod(random3(pos).x,1) > 0.05) { @@ -215,7 +215,7 @@ void main() } else { // wandering age += 0.04; - vec3 rand = random3(vec3(texCoordVarying.st, 0)); + vec3 rand = vec3(0);//random3(vec3(texCoordVarying.st, 0)); if(mod(subPix.x + rand.x, 0.5) > 0.1 || mod(subPix.y + rand.y, 0.5) > 0.1) { age += 10.1; } @@ -234,7 +234,7 @@ void main() force.x += cos(th) * cos(phi); force.y += sin(th) * cos(phi); force.z += sin(phi); - force *= 300; + force *= 100; } else { float th = 3.1415 * 4 * simplex3d_fractal(vec3(pos.xyz * 0.01));