Skip to content

Commit c535108

Browse files
authored
Allow background option to completely work (VR useful) (#6930)
From discussion with VR players, it appears that being able to toggle off the skybox/starfield/planet background is very useful to some players to prevent motion sickness. Currently, FSO has the toggle in the Graphics Options window for `Planets/Backgrounds` but it only turns off planet bitmaps. This PR suggests it should be expanded into an accessibility role for players, and properly turn off all background elements--so planets, plus skybox rendering (especially now since most mods also use skyboxes as backgrounds, whereas in early days this was not primarily the case). Happy to discuss and/or add as a flag if folks think that would be needed.
1 parent f0ecd88 commit c535108

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

code/starfield/starfield.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2305,6 +2305,10 @@ void stars_draw_background()
23052305
return;
23062306
}
23072307

2308+
// detail settings
2309+
if (!Detail.planets_suns)
2310+
return;
2311+
23082312
if (Nmodel_num < 0)
23092313
return;
23102314

0 commit comments

Comments
 (0)