godot/scene/2d
PouleyKetchoupp 1c231cacb3 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.
2020-08-09 18:16:53 +02:00
..
animated_sprite_2d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
animated_sprite_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
area_2d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
area_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
audio_stream_player_2d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
audio_stream_player_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
back_buffer_copy.cpp Style: Enforce separation line between function definitions 2020-05-14 16:54:55 +02:00
back_buffer_copy.h Add override keywords. 2020-07-10 13:56:54 +01:00
camera_2d.cpp Revert "Merge pull request #38341 from verdog/camera-bounds-fix" 2020-07-11 19:05:48 +01:00
camera_2d.h Revert "Merge pull request #38341 from verdog/camera-bounds-fix" 2020-07-11 19:05:48 +01:00
canvas_modulate.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
canvas_modulate.h Add override keywords. 2020-07-10 13:56:54 +01:00
collision_object_2d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
collision_object_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
collision_polygon_2d.cpp Split Geometry singleton into Geometry2D and Geometry3D 2020-05-27 14:28:34 +03:00
collision_polygon_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
collision_shape_2d.cpp Provide warning when using polygon shapes in CollisionShape2D node 2020-07-03 15:46:09 +03:00
collision_shape_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
cpu_particles_2d.cpp Fix 2D Particle velocity with directed emission mask 2020-08-09 18:16:53 +02:00
cpu_particles_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
gpu_particles_2d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
gpu_particles_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
joints_2d.cpp Correct misspellings of damped spring. 2020-06-04 18:07:24 +01:00
joints_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
light_2d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
light_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
light_occluder_2d.cpp Split Geometry singleton into Geometry2D and Geometry3D 2020-05-27 14:28:34 +03:00
light_occluder_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
line_2d.cpp Split Geometry singleton into Geometry2D and Geometry3D 2020-05-27 14:28:34 +03:00
line_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
line_builder.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
line_builder.h
mesh_instance_2d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
mesh_instance_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
multimesh_instance_2d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
multimesh_instance_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
navigation_2d.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
navigation_2d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
navigation_agent_2d.cpp Split Geometry singleton into Geometry2D and Geometry3D 2020-05-27 14:28:34 +03:00
navigation_agent_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
navigation_obstacle_2d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
navigation_obstacle_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
navigation_region_2d.cpp Split Geometry singleton into Geometry2D and Geometry3D 2020-05-27 14:28:34 +03:00
navigation_region_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
node_2d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
node_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
parallax_background.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
parallax_background.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
parallax_layer.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
parallax_layer.h Add override keywords. 2020-07-10 13:56:54 +01:00
path_2d.cpp Object: Add usage hint to instantiate Object properties in editor 2020-06-12 14:30:18 +02:00
path_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
physics_body_2d.cpp Merge pull request #37350 from aaronfranke/force-impulse 2020-07-02 18:39:16 +02:00
physics_body_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
polygon_2d.cpp Split Geometry singleton into Geometry2D and Geometry3D 2020-05-27 14:28:34 +03:00
polygon_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
position_2d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
position_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
ray_cast_2d.cpp Enable raycast nodes by default 2020-05-27 15:10:53 +03:00
ray_cast_2d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
remote_transform_2d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
remote_transform_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
skeleton_2d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
skeleton_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
sprite_2d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
sprite_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
tile_map.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
tile_map.h Add override keywords. 2020-07-10 13:56:54 +01:00
touch_screen_button.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
touch_screen_button.h Add override keywords. 2020-07-10 13:56:54 +01:00
visibility_notifier_2d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
visibility_notifier_2d.h Add override keywords. 2020-07-10 13:56:54 +01:00
y_sort.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
y_sort.h