param
This commit is contained in:
parent
47434c39db
commit
8e491737f2
1 changed files with 3 additions and 3 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue