From: Frederic Bouvier Date: Mon, 9 Jan 2012 20:47:21 +0000 (+0100) Subject: Add new texture type in effects : lighting-buffer X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f9857235fc61cc3d5e6b05f8ccca03844675ce52;p=simgear.git Add new texture type in effects : lighting-buffer --- diff --git a/simgear/scene/material/TextureBuilder.cxx b/simgear/scene/material/TextureBuilder.cxx index f4523c9b..d9ee8308 100644 --- a/simgear/scene/material/TextureBuilder.cxx +++ b/simgear/scene/material/TextureBuilder.cxx @@ -915,6 +915,7 @@ TextureBuilder::Registrar installDepthBuffer("depth-buffer", new GBufferBuilder( TextureBuilder::Registrar installNormalBuffer("normal-buffer", new GBufferBuilder(1)); TextureBuilder::Registrar installDiffuseBuffer("diffuse-buffer", new GBufferBuilder(2)); TextureBuilder::Registrar installSpecularBuffer("specular-buffer", new GBufferBuilder(3)); +TextureBuilder::Registrar installLightingBuffer("lighting-buffer", new GBufferBuilder(4)); } }