MCPcopy Create free account
hub / github.com/TTimo/doom3.gpl / RB_DetermineLightScale

Function RB_DetermineLightScale

neo/renderer/tr_render.cpp:500–544  ·  view source on GitHub ↗

================= RB_DetermineLightScale Sets: backEnd.lightScale backEnd.overBright Find out how much we are going to need to overscale the lighting, so we can down modulate the pre-lighting passes. We only look at light calculations, but an argument could be made that we should also look at surface evaluations, which would let surfaces overbright past 1.0 ================= */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

RB_STD_DrawViewFunction · 0.85

Calls 3

GetNumStagesMethod · 0.80
GetStageMethod · 0.45
GetFloatMethod · 0.45

Tested by

no test coverage detected