mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Merge commit godotengine/godot@8004c7524f
This commit is contained in:
@@ -142,7 +142,7 @@ void RaycastOcclusionCull::RaycastHZBuffer::_generate_camera_rays(const CameraRa
|
||||
|
||||
Vector3 dir;
|
||||
if (p_data->camera_orthogonal) {
|
||||
dir = -p_data->camera_dir;
|
||||
dir = p_data->camera_dir;
|
||||
tile.ray.org_x[j] = pixel_pos.x - dir.x * p_data->z_near;
|
||||
tile.ray.org_y[j] = pixel_pos.y - dir.y * p_data->z_near;
|
||||
tile.ray.org_z[j] = pixel_pos.z - dir.z * p_data->z_near;
|
||||
|
||||
Reference in New Issue
Block a user