GUIGraphics.setUpdateMargin

Tune this to tune the trade-off between light quality and speed. The default value was tuned by hand on very shiny light sources. Too high and processing becomes more expensive. Too little and the ligth decay doesn't feel natural. IMPORTANT: This should be called only inside your main reflow() or at UI creation time.

class GUIGraphics
nothrow @nogc nothrow @nogc
void
setUpdateMargin
(
int margin = 20
)

Meta