Added skydome support.

This commit is contained in:
Justin Marshall
2026-05-24 11:54:07 -07:00
parent 3242531044
commit 029fd186dc
18 changed files with 281 additions and 37 deletions
+1 -1
View File
@@ -6139,7 +6139,7 @@ void CCamWnd::Cam_Render() {
// the editor uses opposite pitch convention
refdef.viewaxis = idAngles(-m_Camera.angles.pitch, m_Camera.angles.yaw, m_Camera.angles.roll).ToMat3();
refdef.skyDomeMaterial = world_entity->GetKeyMaterial("skydome", "textures/skies/mars1");
refdef.width = SCREEN_WIDTH;
refdef.height = SCREEN_HEIGHT;
refdef.fov_x = 90;