Shadow map now available in effects
This commit is contained in:
parent
2b62411a78
commit
4de05629ee
@ -91,7 +91,8 @@ public:
|
|||||||
LIGHTING_BUFFER,
|
LIGHTING_BUFFER,
|
||||||
MIDDLE_BLOOM_BUFFER,
|
MIDDLE_BLOOM_BUFFER,
|
||||||
BLOOM_BUFFER,
|
BLOOM_BUFFER,
|
||||||
AO_BUFFER
|
AO_BUFFER,
|
||||||
|
SHADOW_BUFFER
|
||||||
};
|
};
|
||||||
|
|
||||||
// Define what needs to be generated for this effect
|
// Define what needs to be generated for this effect
|
||||||
|
@ -871,6 +871,7 @@ namespace
|
|||||||
TextureBuilder::Registrar installMiddleBloomBuffer("middle-bloom-buffer", new GBufferBuilder(Effect::MIDDLE_BLOOM_BUFFER));
|
TextureBuilder::Registrar installMiddleBloomBuffer("middle-bloom-buffer", new GBufferBuilder(Effect::MIDDLE_BLOOM_BUFFER));
|
||||||
TextureBuilder::Registrar installBloomBuffer("bloom-buffer", new GBufferBuilder(Effect::BLOOM_BUFFER));
|
TextureBuilder::Registrar installBloomBuffer("bloom-buffer", new GBufferBuilder(Effect::BLOOM_BUFFER));
|
||||||
TextureBuilder::Registrar installAoBuffer("ao-buffer", new GBufferBuilder(Effect::AO_BUFFER));
|
TextureBuilder::Registrar installAoBuffer("ao-buffer", new GBufferBuilder(Effect::AO_BUFFER));
|
||||||
|
TextureBuilder::Registrar installShadowBuffer("shadow-buffer", new GBufferBuilder(Effect::SHADOW_BUFFER));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user