From 891a70f74b459361ff632ec1b0a8c7528a8612ff Mon Sep 17 00:00:00 2001 From: "Asad M. Zaman" Date: Fri, 25 Feb 2005 03:24:21 +0000 Subject: [PATCH] after much experimentation, we decided to default to modulate for top textures on multi-textures --- pandatool/src/mayaegg/mayaToEggConverter.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandatool/src/mayaegg/mayaToEggConverter.cxx b/pandatool/src/mayaegg/mayaToEggConverter.cxx index 1d68f192fc..f5e232708f 100644 --- a/pandatool/src/mayaegg/mayaToEggConverter.cxx +++ b/pandatool/src/mayaegg/mayaToEggConverter.cxx @@ -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