Open GoogleCodeExporter opened 8 years ago
I've looked through the sourcecode and I think this is the part that should be
changed for this: (i'm a C# programmer, not java)
GeometryGenerator.java:80-96
if( b == null || !b.opaque )
{
addFace( c, b, xi - 1, yi, zi, Face.South, Colour.packFloat( light*0.4, light*0.4, light*0.4, 1 ),
opaqueVBOBuilder, transVBOBuilder );
addFace( c, b, xi + 1, yi, zi, Face.North, Colour.packFloat( light*0.6, light*0.6, light*0.6, 1 ),
opaqueVBOBuilder, transVBOBuilder );
addFace( c, b, xi, yi, zi - 1, Face.West, Colour.packFloat( light*0.4, light*0.4, light*0.4, 1 ),
opaqueVBOBuilder, transVBOBuilder );
addFace( c, b, xi, yi, zi + 1, Face.East, Colour.packFloat( light*0.6, light*0.6, light*0.6, 1 ),
opaqueVBOBuilder, transVBOBuilder );
addFace( c, b, xi, yi + 1, zi, Face.Bottom, Colour.packFloat( light*0.2, light*0.2, light*0.2, 1 ),
opaqueVBOBuilder, transVBOBuilder );
addFace( c, b, xi, yi - 1, zi, Face.Top, Colour.packFloat( light*0.8, light*0.8, light*0.8, 1 ),
opaqueVBOBuilder, transVBOBuilder );
}
Original comment by pizzamar...@gmail.com
on 4 May 2011 at 10:30
Original comment by therealryan
on 2 Jun 2011 at 10:03
I have tested it, and get only an Error at compiling :(
But the Idea is good! :D
Original comment by freestyl...@googlemail.com
on 14 Jul 2012 at 12:07
Original issue reported on code.google.com by
pizzamar...@gmail.com
on 3 May 2011 at 7:33