mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
1c231cacb3
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. |
||
---|---|---|
.. | ||
area_3d.cpp | ||
area_3d.h | ||
audio_stream_player_3d.cpp | ||
audio_stream_player_3d.h | ||
baked_lightmap.cpp | ||
baked_lightmap.h | ||
bone_attachment_3d.cpp | ||
bone_attachment_3d.h | ||
camera_3d.cpp | ||
camera_3d.h | ||
collision_object_3d.cpp | ||
collision_object_3d.h | ||
collision_polygon_3d.cpp | ||
collision_polygon_3d.h | ||
collision_shape_3d.cpp | ||
collision_shape_3d.h | ||
cpu_particles_3d.cpp | ||
cpu_particles_3d.h | ||
decal.cpp | ||
decal.h | ||
gi_probe.cpp | ||
gi_probe.h | ||
gpu_particles_3d.cpp | ||
gpu_particles_3d.h | ||
immediate_geometry_3d.cpp | ||
immediate_geometry_3d.h | ||
light_3d.cpp | ||
light_3d.h | ||
lightmap_probe.cpp | ||
lightmap_probe.h | ||
lightmapper.cpp | ||
lightmapper.h | ||
listener_3d.cpp | ||
listener_3d.h | ||
mesh_instance_3d.cpp | ||
mesh_instance_3d.h | ||
multimesh_instance_3d.cpp | ||
multimesh_instance_3d.h | ||
navigation_3d.cpp | ||
navigation_3d.h | ||
navigation_agent_3d.cpp | ||
navigation_agent_3d.h | ||
navigation_obstacle_3d.cpp | ||
navigation_obstacle_3d.h | ||
navigation_region_3d.cpp | ||
navigation_region_3d.h | ||
node_3d.cpp | ||
node_3d.h | ||
path_3d.cpp | ||
path_3d.h | ||
physics_body_3d.cpp | ||
physics_body_3d.h | ||
physics_joint_3d.cpp | ||
physics_joint_3d.h | ||
position_3d.cpp | ||
position_3d.h | ||
proximity_group_3d.cpp | ||
proximity_group_3d.h | ||
ray_cast_3d.cpp | ||
ray_cast_3d.h | ||
reflection_probe.cpp | ||
reflection_probe.h | ||
remote_transform_3d.cpp | ||
remote_transform_3d.h | ||
SCsub | ||
skeleton_3d.cpp | ||
skeleton_3d.h | ||
skeleton_ik_3d.cpp | ||
skeleton_ik_3d.h | ||
soft_body_3d.cpp | ||
soft_body_3d.h | ||
spring_arm_3d.cpp | ||
spring_arm_3d.h | ||
sprite_3d.cpp | ||
sprite_3d.h | ||
vehicle_body_3d.cpp | ||
vehicle_body_3d.h | ||
velocity_tracker_3d.cpp | ||
velocity_tracker_3d.h | ||
visibility_notifier_3d.cpp | ||
visibility_notifier_3d.h | ||
visual_instance_3d.cpp | ||
visual_instance_3d.h | ||
voxelizer.cpp | ||
voxelizer.h | ||
world_environment.cpp | ||
world_environment.h | ||
xr_nodes.cpp | ||
xr_nodes.h |