Improved particles and trajectory rendering #430
|
@ -164,9 +164,9 @@
|
|||
Max Life: 20
|
||||
Angular Min: {x: 2.29999995, y: 1.70000005, z: 2.9000001}
|
||||
Angular Max: {x: 0, y: 0, z: 0}
|
||||
Minimum Velocity: {x: 2, y: 3, z: 4}
|
||||
Maximum Velocity: {x: 0, y: 0, z: 0}
|
||||
Minimum Size: 5
|
||||
Maximum Size: 10
|
||||
Minimum Velocity: {x: 1, y: 1, z: 0}
|
||||
Maximum Velocity: {x: 2, y: 2, z: 0}
|
||||
Minimum Size: 1
|
||||
Maximum Size: 3
|
||||
IsActive: true
|
||||
Scripts: ~
|
|
@ -78,8 +78,8 @@ void main()
|
|||
vec2 particleScaleData = particle.scaleAndDecay.xz; // x and y
|
||||
|
||||
mat4 localModel = mat4 (1.0f);
|
||||
localModel[0][0] = 1.0f;
|
||||
localModel[1][1] = 1.0f;
|
||||
localModel[0][0] = particleScaleData.x;
|
||||
localModel[1][1] = particleScaleData.y;
|
||||
|
||||
mat4 rotate = mat4(1.0f);
|
||||
rotate[0][0] = cos(angle);
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue