> Hi Adrien, > > >> beginEditCP(occluderMat); >> occluderMat->setDiffuse(Color3f(0.42, 0.42, 0.52)); >> occluderMat->addChunk(occluderChunk); >> occluderMat->setSortKey(Int32(10)); } >> endEditCP(occluderMat); >> >> beginEditCP(geo); >> geo->setMaterial(occluderMat); >> endEditCP(geo); >> > > > You should use a negative value for the sortkey. Can > you try that? > > IT WORKS !! thanks, fantastic, it's very helpful, I'll not have to make a shader of more complex solutions.
Regards Adrien ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
