godot/scene
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
..
2d Fix 2D Particle velocity with directed emission mask 2020-08-21 02:28:19 +02:00
3d Fix 2D Particle velocity with directed emission mask 2020-08-21 02:28:19 +02:00
animation Fixed reload_goal not being called when SkeletonIK3D::start is invoked with p_one_time = true 2020-07-28 11:28:34 +02:00
audio SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
debugger Format remote printerr properly in script debugger output 2020-07-02 17:43:37 +02:00
gui Revert "Fixes the get_visible_line_count() of rich text label" 2020-08-17 11:21:36 +02:00
main Expose NOTIFICATION_POST_ENTER_TREE 2020-08-14 00:32:05 +02:00
resources Keep transition value when replacing key 2020-07-24 10:31:57 +02:00
register_scene_types.cpp Add support for opengl external textures as defined by https://www.khronos.org/registry/OpenGL/extensions/OES/OES_EGL_image_external.txt 2020-03-05 13:09:49 -08:00
register_scene_types.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
scene_string_names.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
scene_string_names.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00