There doesnt seem to be alot of documentation on tranparent objects. Obviously you have to set the object to allow transparency. But is there any way to set the transparency mode to MAdd? Like the multitexture blendMode.
Thanks
There doesnt seem to be alot of documentation on tranparent objects. Obviously you have to set the object to allow transparency. But is there any way to set the transparency mode to MAdd? Like the multitexture blendMode.
Thanks
Yes. For this, you need to use a ColorBlendAttrib, like this:
nodePath.node().setAttrib(ColorBlendAttrib.make(ColorBlendAttrib.MAdd))
David