Add bloom buffer to effects
This commit is contained in:
parent
c9a80caff5
commit
cbf8687e3d
@ -88,7 +88,8 @@ public:
|
||||
DIFFUSE_BUFFER,
|
||||
SPECULAR_BUFFER,
|
||||
EMISSION_BUFFER,
|
||||
LIGHTING_BUFFER
|
||||
LIGHTING_BUFFER,
|
||||
BLOOM_BUFFER
|
||||
};
|
||||
|
||||
// Define what needs to be generated for this effect
|
||||
|
@ -917,6 +917,7 @@ namespace
|
||||
TextureBuilder::Registrar installSpecularBuffer("specular-buffer", new GBufferBuilder(Effect::SPECULAR_BUFFER));
|
||||
TextureBuilder::Registrar installEmissionBuffer("emission-buffer", new GBufferBuilder(Effect::EMISSION_BUFFER));
|
||||
TextureBuilder::Registrar installLightingBuffer("lighting-buffer", new GBufferBuilder(Effect::LIGHTING_BUFFER));
|
||||
TextureBuilder::Registrar installBloomBuffer("bloom-buffer", new GBufferBuilder(Effect::BLOOM_BUFFER));
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user