mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-21 16:00:30 +02:00
port/linux/game/vr_graphics.c (after HaloCE-Quest-VR's, CC0) sets the game's own effect switches each frame before drawing: "high" (the default) draws everything as before; "medium" no object shadows, environment reflections or lens flares; "low" nor specular light, bump maps, detail objects (grass), the screen's fog layer, contrails, weather or camouflage's second pass; "max" is "high" with per-pixel model lighting and 512x512 shadow maps (d3d8_gl.c asks halo_vr_graphics). A switch the game changes (scripts, console) is taken as its wish and combined with the preset's. A client in another's game keeps grass, lens flares and the fog layer as the host's rules have them; cheats.c leaves the environment parts the preset may keep off there (shadows, specular, reflections). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>