Code: Select all
Index: source/Irrlicht/CBillboardSceneNode.cpp
===================================================================
--- source/Irrlicht/CBillboardSceneNode.cpp (revision 3845)
+++ source/Irrlicht/CBillboardSceneNode.cpp (working copy)
@@ -179,7 +179,9 @@
Size.Width = in->getAttributeAsFloat("Width");
Size.Height = in->getAttributeAsFloat("Height");
+ vertices[2].Color =
vertices[1].Color = in->getAttributeAsColor ( "Shade_Top" );
+ vertices[3].Color =
vertices[0].Color = in->getAttributeAsColor ( "Shade_Down" );
setSize(Size);