PouleyKetchoupp
d82cc621e1
Fix 2D Particle velocity with directed emission mask
...
Changed CPU velocity calculation for EMISSION_SHAPE_DIRECTED_POINTS
to follow the same logic as in the GPU version:
mat2 rotm;
rotm[0] = texelFetch(emission_texture_normal, emission_tex_ofs, 0).xy;
rotm[1] = rotm[0].yx * vec2(1.0, -1.0);
VELOCITY.xy = rotm * VELOCITY.xy;
Now both CPUParticles2D & CPUParticles3D (z disabled) show the same results
as their GPU counterparts and take the initial velocity settings into account.
(cherry picked from commit 1c231cacb3 )
2020-08-21 02:28:19 +02:00
..
2020-01-09 22:15:48 +01:00
2020-01-09 22:15:48 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-04-16 11:43:58 +02:00
2020-01-01 11:16:22 +01:00
2020-01-09 22:15:48 +01:00
2020-01-09 22:15:48 +01:00
2020-06-15 16:34:03 +02:00
2020-01-01 11:16:22 +01:00
2020-01-09 22:15:48 +01:00
2020-01-09 22:15:48 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-05-21 11:28:01 +01:00
2020-01-09 22:15:48 +01:00
2020-07-06 14:16:28 +02:00
2020-01-01 11:16:22 +01:00
2020-08-21 02:28:19 +02:00
2020-05-01 13:49:53 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-01-13 12:20:15 +01:00
2020-01-09 22:15:48 +01:00
2020-01-09 22:15:48 +01:00
2020-01-09 22:15:48 +01:00
2020-01-09 22:15:48 +01:00
2020-01-09 22:15:48 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-01-09 22:15:48 +01:00
2020-01-09 22:15:48 +01:00
2020-01-09 22:15:48 +01:00
2020-01-09 22:15:48 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-01-09 22:15:48 +01:00
2020-01-09 22:15:48 +01:00
2020-06-22 10:26:06 +02:00
2020-06-22 10:26:06 +02:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-04-16 11:45:40 +02:00
2020-01-09 22:15:48 +01:00
2020-06-16 10:11:54 +01:00
2020-01-10 14:58:19 +01:00
2020-01-21 21:41:54 +01:00
2020-01-09 22:15:48 +01:00
2020-01-09 22:15:48 +01:00
2020-01-09 22:15:48 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-06-10 15:30:52 +02:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00
2020-01-09 22:15:48 +01:00
2020-01-09 22:15:48 +01:00
2020-05-04 16:10:22 +02:00
2020-01-09 22:15:48 +01:00
2020-05-07 11:04:59 -03:00
2020-01-09 22:15:48 +01:00
2020-05-11 10:33:38 +02:00
2020-01-09 22:15:48 +01:00
2020-01-01 11:16:22 +01:00
2020-01-01 11:16:22 +01:00