Game Development Community

Texture color problem in TSE

by Chan Chi Kit · in Torque Game Engine Advanced · 10/29/2006 (7:13 am) · 4 replies

I export my model and add it to TGE, the texture color performance is same as in 3D Max.

But when I add the model to TSE with following material script:

new Material(materialName)
{
mapTo = myTexture;
baseTex[0] = "myTexture";
translucent = true;
};

The texture color in TSE is more darker than that in TGE.

Is this true for TSE?

How can I fix the problem?

It is really difficult for artist to define the color in 3D Max.

Thanks ~

#1
11/01/2006 (10:03 am)
Nobody knows the problem...?
#2
11/01/2006 (11:01 am)
Hmm..maybe this is a gamma correction issue and that you need to make the game screen brighter. Have a search for gamma correction in TSE.

--Amr
#3
11/01/2006 (11:07 am)
It probably looks dark because you didn't give it any lighting properties.

Suchs as

pixelSpecular[0] = true;
specular[0] = "0.1 0.1 0.1 0.1";
specularPower[0] = "8.0";

You should read over the materials overview section on TDN for all the available options.
#4
11/06/2006 (5:33 pm)
It could be that it was emissive in TGE, so you can try that parameter. You also didn't apply a blendOp for your translucent material; the default is LerpAlpha, which is darker than additive.