mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
after much experimentation, we decided to default to modulate for top textures on multi-textures
This commit is contained in:
parent
9921fbba85
commit
891a70f74b
@ -2279,10 +2279,12 @@ set_shader_attributes(EggPrimitive &primitive, const MayaShader &shader, const M
|
||||
//tex.set_format(EggTexture::F_rgb);
|
||||
}
|
||||
|
||||
/*
|
||||
// if multi-textured, first texture in maya is on top, so
|
||||
// default it to decal
|
||||
if ((shader._color.size() > 1) && (i!=shader._color.size()-1))
|
||||
tex.set_env_type(EggTexture::ET_decal);
|
||||
*/
|
||||
|
||||
} else { // trans_def._has_texture
|
||||
// We have a texture on transparency only. Apply it as the
|
||||
|
Loading…
x
Reference in New Issue
Block a user