Make the shadow map available for effects
This commit is contained in:
parent
7e6ecfec56
commit
b05bbddde5
1 changed files with 1 additions and 0 deletions
|
@ -630,6 +630,7 @@ public:
|
|||
cv->addBuffer(simgear::Effect::DIFFUSE_BUFFER, info->getBuffer( flightgear::RenderBufferInfo::DIFFUSE_BUFFER ) );
|
||||
cv->addBuffer(simgear::Effect::SPEC_EMIS_BUFFER, info->getBuffer( flightgear::RenderBufferInfo::SPEC_EMIS_BUFFER ) );
|
||||
cv->addBuffer(simgear::Effect::LIGHTING_BUFFER, info->getBuffer( flightgear::RenderBufferInfo::LIGHTING_BUFFER ) );
|
||||
cv->addBuffer(simgear::Effect::SHADOW_BUFFER, info->getBuffer( flightgear::RenderBufferInfo::SHADOW_BUFFER ) );
|
||||
// cv->addBuffer(simgear::Effect::AO_BUFFER, info->gBuffer->aoBuffer[2]);
|
||||
|
||||
if ( !info->getRenderStageInfo(kind).fullscreen )
|
||||
|
|
Loading…
Add table
Reference in a new issue