mh okay, lets say i keep it simple:

[code]
float4 Test_PS(TVSOutput In): Color
{
return tex2D(ColorMapSampler, In.OutTex) * vecAmbient * vecColor;
}
[code]

I have a texture which should be influenced by ambient and entitycolor when LIGHT is set.

is this correct?


MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development