Added the temporary 'use HDR cubemaps' override to use the in-memory full HDR range prefilter and irradiance cubemaps instead of the saved LDR ones.

Also fixed the target order with the skylight shader so it renders to the right targets.
This commit is contained in:
Areloch 2018-10-26 01:19:14 -05:00
parent 86e5fe2adf
commit 78b2bcde0c
3 changed files with 84 additions and 70 deletions

View file

@ -128,6 +128,9 @@ protected:
GFXCubemapHandle mDynamicCubemap;
bool mUseCubemap;
///Prevents us from saving out the cubemaps(for now) but allows us the full HDR range on the in-memory cubemap captures
bool mUseHDRCaptures;
//irridiance resources
CubemapData *mIrridianceMap;