Skip to content

[ALL] Fix maps with multiple 3d skyboxes rendering all of them at the same time #1849

Open
gidi30 wants to merge 1 commit intoValveSoftware:masterfrom
gidi30:3dskybox-worldrenderlists-fix
Open

[ALL] Fix maps with multiple 3d skyboxes rendering all of them at the same time #1849
gidi30 wants to merge 1 commit intoValveSoftware:masterfrom
gidi30:3dskybox-worldrenderlists-fix

Conversation

@gidi30
Copy link
Copy Markdown
Contributor

@gidi30 gidi30 commented Mar 22, 2026

Description

Currently in maps with multiple 3d skyboxes in them all of them render at the same time even if they completely seperate.
This is caused by a call to BuildWorldRenderLists in CSkyboxView::DrawInternal listing the arguments in the wrong order causing the ViewLeaf the sky is rendered from to be set to 1 instead of being calculated based on the origin and area of the camera.

Before

2026-03-22.10-31-39.mp4

After

2026-03-22.10-33-58.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant