]> git.mxchange.org Git - simgear.git/commitdiff
Add new texture type in effects : lighting-buffer
authorFrederic Bouvier <fredfgfs01@free.fr>
Mon, 9 Jan 2012 20:47:21 +0000 (21:47 +0100)
committerFrederic Bouvier <fredfgfs01@free.fr>
Sun, 4 Mar 2012 19:21:27 +0000 (20:21 +0100)
simgear/scene/material/TextureBuilder.cxx

index f4523c9bb534b3b152e5420b1b4931af1ae6022a..d9ee830831ae0377373fdc4179732994cf00146f 100644 (file)
@@ -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));
 }
 
 }