Hi! The default values of the color fields of the MaterialChunk have alpha set to 0.0f. Is there a reason for this?
I stumbled across weird behavior when I used a MaterialChunk without changing its default diffuse color. With setZWriteTrans not enabled on the RenderAction, the nodes were rendered without proper depth sorting since the isTransparent method returns true. Another unwanted behavior (I think...) is if you add a BlendChunk with GL_SRC_ALPHA and GL_ONE_MINUS_SRC_ALPHA the geometry will be completely transparent using the default values on MaterialChunk. /Fredrik ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
