Implementation of reflection and skylight probes.

Moves lighting math to the diffuse/specular two-channel logic.
This commit is contained in:
Areloch 2018-09-16 22:15:07 -05:00
parent 1f7cf55204
commit b19a4b22c8
102 changed files with 12346 additions and 1911 deletions

View file

@ -61,6 +61,7 @@ const RenderInstType RenderPassManager::RIT_Custom("Custom");
const RenderInstType RenderPassManager::RIT_Particle("Particle");
const RenderInstType RenderPassManager::RIT_Occluder("Occluder");
const RenderInstType RenderPassManager::RIT_Editor("Editor");
const RenderInstType RenderPassManager::RIT_Probes("Probes");
//*****************************************************************************
@ -102,6 +103,11 @@ void OccluderRenderInst::clear()
dMemset( this, 0, sizeof(OccluderRenderInst) );
}
void ProbeRenderInst::clear()
{
dMemset(this, 0, sizeof(ProbeRenderInst));
//mCubemap);
}
IMPLEMENT_CONOBJECT(RenderPassManager);