godot/scene/3d
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
..
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
area.cpp
area.h
arvr_nodes.cpp Merge pull request #35406 from lawnjelly/ortho-shadow 2020-01-22 22:02:09 +01:00
arvr_nodes.h
audio_stream_player_3d.cpp Fix bug with AudioStreamPlayer3D audio position 2020-05-07 13:37:06 +02:00
audio_stream_player_3d.h
baked_lightmap.cpp
baked_lightmap.h
bone_attachment.cpp
bone_attachment.h
camera.cpp Call Spatial::get_global_transform and Vector3::dot only once within Camera::is_position_behind to avoid redundant work. 2020-06-29 10:48:45 +02:00
camera.h
collision_object.cpp
collision_object.h
collision_polygon.cpp
collision_polygon.h
collision_shape.cpp Add a new configuration warning to CollisionShape 2020-03-06 23:51:26 +01:00
collision_shape.h
cpu_particles.cpp Fix 2D Particle velocity with directed emission mask 2020-08-21 02:28:19 +02:00
cpu_particles.h Validate input in (CPU)Particles set_emission_shape() 2020-01-16 11:08:51 +01:00
gi_probe.cpp
gi_probe.h
immediate_geometry.cpp
immediate_geometry.h
interpolated_camera.cpp
interpolated_camera.h
light.cpp Add performance hints to the DirectionalLight shadow mode property hint 2020-06-04 12:16:39 +02:00
light.h
listener.cpp
listener.h
mesh_instance.cpp
mesh_instance.h
multimesh_instance.cpp
multimesh_instance.h
navigation.cpp Fix C4724: potential mod by 0 warnings. 2020-05-21 11:28:01 +01:00
navigation.h
navigation_mesh.cpp
navigation_mesh.h
particles.cpp
particles.h
path.cpp Fix repeated updates of PathFollow3D Transform 2020-07-10 10:59:24 +02:00
path.h Fix repeated updates of PathFollow3D Transform 2020-07-10 10:59:24 +02:00
physics_body.cpp Merge pull request #39817 from yrk06/ExposeInertiaTensor 2020-07-21 16:50:56 +02:00
physics_body.h Added Method get_inverse_inertia_tensor 2020-07-19 13:51:32 -03:00
physics_joint.cpp Added missing spring enums for generic_6dof_joint 2020-05-04 16:10:22 +02:00
physics_joint.h
position_3d.cpp
position_3d.h
proximity_group.cpp
proximity_group.h
ray_cast.cpp
ray_cast.h
reflection_probe.cpp
reflection_probe.h
remote_transform.cpp
remote_transform.h
skeleton.cpp Fixed IK rotation issue 2020-04-16 11:42:07 +02:00
skeleton.h Fixed IK rotation issue 2020-04-16 11:42:07 +02:00
soft_body.cpp Make softbody completelly stiff to attachment point 2020-05-01 10:56:57 +02:00
soft_body.h Make softbody completelly stiff to attachment point 2020-05-01 10:56:57 +02:00
spatial.cpp Fixes crash in Spatial::notification 2020-01-25 13:16:51 +08:00
spatial.h
spatial_velocity_tracker.cpp
spatial_velocity_tracker.h
spring_arm.cpp Activate Physics Process in SpringArm3D. 2020-04-20 11:51:30 +02:00
spring_arm.h
sprite_3d.cpp Check for uncompressed uvs in Sprite3D 2020-08-16 19:19:14 -07:00
sprite_3d.h Check for uncompressed uvs in Sprite3D 2020-08-16 19:19:14 -07:00
vehicle_body.cpp Fixed random force on vehicle wheel 2020-02-15 20:30:17 +05:30
vehicle_body.h
visibility_notifier.cpp Fix visibility enabler flag toggling 2020-03-25 11:38:53 +01:00
visibility_notifier.h
visual_instance.cpp
visual_instance.h
voxel_light_baker.cpp Remove unused #if 0'ed code 2020-01-21 21:41:54 +01:00
voxel_light_baker.h
world_environment.cpp
world_environment.h