Changed the decal=true setting to decal=false to make sure that textured models

come out lit ok.  The makes the assumption that colour values on the objects
and realistic, if they arn't then decal texture can produce better results..
This commit is contained in:
Robert Osfield
2003-01-22 12:25:04 +00:00
parent 329a8a1656
commit d2b7340fb5

View File

@@ -687,7 +687,8 @@ osg::StateSet* ReaderWriter3DS::createStateSet(Lib3dsMaterial *mat)
stateset->setAttribute(material);
bool decal = true;
bool decal = false;
//bool decal = true;
bool textureTransparancy=false;
osg::Texture2D* texture1_map = createTexture(&(mat->texture1_map),"texture1_map",textureTransparancy);
if (texture1_map)