virtualx-engine/scene/3d
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
..
area_3d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
area_3d.h Add override keywords. 2020-07-10 13:56:54 +01:00
audio_stream_player_3d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
audio_stream_player_3d.h Add override keywords. 2020-07-10 13:56:54 +01:00
baked_lightmap.cpp Addition of SDFGI for open world global illumination 2020-06-26 11:06:48 -03:00
baked_lightmap.h Add override keywords. 2020-07-10 13:56:54 +01:00
bone_attachment_3d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
bone_attachment_3d.h Add override keywords. 2020-07-10 13:56:54 +01:00
camera_3d.cpp Environment: Refactor code for readability + more 2020-07-01 14:44:45 +02:00
camera_3d.h Add override keywords. 2020-07-10 13:56:54 +01:00
collision_object_3d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
collision_object_3d.h Add override keywords. 2020-07-10 13:56:54 +01:00
collision_polygon_3d.cpp Split Geometry singleton into Geometry2D and Geometry3D 2020-05-27 14:28:34 +03:00
collision_polygon_3d.h Add override keywords. 2020-07-10 13:56:54 +01:00
collision_shape_3d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
collision_shape_3d.h Add override keywords. 2020-07-10 13:56:54 +01:00
cpu_particles_3d.cpp Fix 2D Particle velocity with directed emission mask 2020-08-09 18:16:53 +02:00
cpu_particles_3d.h Add override keywords. 2020-07-10 13:56:54 +01:00
decal.cpp Style: Enforce separation line between function definitions 2020-05-14 16:54:55 +02:00
decal.h Add override keywords. 2020-07-10 13:56:54 +01:00
gi_probe.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
gi_probe.h Add override keywords. 2020-07-10 13:56:54 +01:00
gpu_particles_3d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
gpu_particles_3d.h Add override keywords. 2020-07-10 13:56:54 +01:00
immediate_geometry_3d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
immediate_geometry_3d.h Add override keywords. 2020-07-10 13:56:54 +01:00
light_3d.cpp Addition of SDFGI for open world global illumination 2020-06-26 11:06:48 -03:00
light_3d.h Add override keywords. 2020-07-10 13:56:54 +01:00
lightmap_probe.cpp Style: Fix missing/invalid copyright headers 2020-05-14 16:54:54 +02:00
lightmap_probe.h Style: Fix missing/invalid copyright headers 2020-05-14 16:54:54 +02:00
lightmapper.cpp Style: Fix missing/invalid copyright headers 2020-05-14 16:54:54 +02:00
lightmapper.h Style: Fix missing/invalid copyright headers 2020-05-14 16:54:54 +02:00
listener_3d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
listener_3d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
mesh_instance_3d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
mesh_instance_3d.h Add override keywords. 2020-07-10 13:56:54 +01:00
multimesh_instance_3d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
multimesh_instance_3d.h Add override keywords. 2020-07-10 13:56:54 +01:00
navigation_3d.cpp Fix spelling & grammar in comments, docs, and messages 2020-07-21 15:17:23 -04:00
navigation_3d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
navigation_agent_3d.cpp Split Geometry singleton into Geometry2D and Geometry3D 2020-05-27 14:28:34 +03:00
navigation_agent_3d.h Add override keywords. 2020-07-10 13:56:54 +01:00
navigation_obstacle_3d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
navigation_obstacle_3d.h Add override keywords. 2020-07-10 13:56:54 +01:00
navigation_region_3d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
navigation_region_3d.h Add override keywords. 2020-07-10 13:56:54 +01:00
node_3d.cpp Remove multilevel calls 2020-07-24 14:13:58 -03:00
node_3d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
path_3d.cpp Fix repeated updates of PathFollow3D Transform 2020-07-08 10:06:02 +08:00
path_3d.h Add override keywords. 2020-07-10 13:56:54 +01:00
physics_body_3d.cpp Add Method get_inverse_inertia_tensor 2020-07-21 11:33:41 -03:00
physics_body_3d.h Add Method get_inverse_inertia_tensor 2020-07-21 11:33:41 -03:00
physics_joint_3d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
physics_joint_3d.h Add override keywords. 2020-07-10 13:56:54 +01:00
position_3d.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
position_3d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
proximity_group_3d.cpp Style: Fix unnecessary semicolons that confused clang-format 2020-05-19 11:24:58 +02:00
proximity_group_3d.h Style: Fix unnecessary semicolons that confused clang-format 2020-05-19 11:24:58 +02:00
ray_cast_3d.cpp Enable raycast nodes by default 2020-05-27 15:10:53 +03:00
ray_cast_3d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
reflection_probe.cpp Addition of SDFGI for open world global illumination 2020-06-26 11:06:48 -03:00
reflection_probe.h Add override keywords. 2020-07-10 13:56:54 +01:00
remote_transform_3d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
remote_transform_3d.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_3d.cpp Made low level changes to the Skeleton3D class and Skeleton3D inspector. Changes listed below: 2020-06-15 17:18:06 -04:00
skeleton_3d.h Made low level changes to the Skeleton3D class and Skeleton3D inspector. Changes listed below: 2020-06-15 17:18:06 -04:00
skeleton_ik_3d.cpp Fixed reload_goal not being called when SkeletonIK3D::start is invoked with p_one_time = true 2020-07-27 20:18:16 +03:00
skeleton_ik_3d.h Add override keywords. 2020-07-10 13:56:54 +01:00
soft_body_3d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
soft_body_3d.h Add override keywords. 2020-07-10 13:56:54 +01:00
spring_arm_3d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
spring_arm_3d.h Port member initialization from constructor to declaration (C++11) 2020-05-14 10:01:56 +02:00
sprite_3d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
sprite_3d.h Add override keywords. 2020-07-10 13:56:54 +01:00
vehicle_body_3d.cpp Refactor physics force and impulse code 2020-06-02 23:18:59 -04:00
vehicle_body_3d.h Add override keywords. 2020-07-10 13:56:54 +01:00
velocity_tracker_3d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
velocity_tracker_3d.h Renamed 2D and 3D nodes to make their types explicit 2020-03-27 14:54:04 +01:00
visibility_notifier_3d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
visibility_notifier_3d.h Add override keywords. 2020-07-10 13:56:54 +01:00
visual_instance_3d.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
visual_instance_3d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
voxelizer.cpp Split Geometry singleton into Geometry2D and Geometry3D 2020-05-27 14:28:34 +03:00
voxelizer.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
world_environment.cpp Environment: Refactor code for readability + more 2020-07-01 14:44:45 +02:00
world_environment.h Add override keywords. 2020-07-10 13:56:54 +01:00
xr_nodes.cpp Style: Fix unnecessary semicolons that confused clang-format 2020-05-19 11:24:58 +02:00
xr_nodes.h Add override keywords. 2020-07-10 13:56:54 +01:00