On Friday, March 02, 2012 03:01 Johannes Brunen [mailto:jbru...@datasolid.de] wrote:
> Subject: Re: [Opensg-users] ChunkMaterial rendering woes > > shouldn't you set propety Lit to true and ColorMaterial to GL_DIFFUSE ? Hi Johannes. As I understand it: * Lit means that it responds to light sources. For a "self-illuminated" shape that simply renders with its own color, (no lights in the scene), Lit should be false. * ColorMaterial specifies the treatment of vertex colors embedded in the geometry -- whether to treat them as GL_DIFFUSE, GL_AMBIENT_AND_DIFFUSE, GL_EMISSION, etc. For a geometry with no vertex colors, GL_NONE seems appropriate. In any case, it seems to me that if that's wrong, I should see three black squares, not three red ones. (What I expect to see is one red, one green, and one blue.) Regards, -- Ted ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users