shift capturing from a globalMacro to a sceneRenderstate S32

lets us ditch shader recompilation so that can be done on the fly without hitches, though does cost us a per-shader const for objects and postfx
This commit is contained in:
AzaezelX 2024-04-16 13:51:41 -05:00
parent 71e0626ec2
commit fe26ffc375
13 changed files with 69 additions and 101 deletions

View file

@ -223,6 +223,7 @@ class SceneRenderState
/// Returns true if this is not one of the other rendering passes.
bool isOtherPass() const { return mScenePassType >= SPT_Other; }
bool isCapturing() const { return Con::getBoolVariable("$ReflectionProbes::Capturing", false); };
/// @}
/// @name Render Style