Can someone fix the colour bug using the monochrome shader?The bug appears on all models that use bumpmapping.
Thats the bump-effect:
extern texture entSkin1;
extern texture entSkin2;
extern texture entSkin3;
extern texture entSkin4;
extern texture mtlSkin1;
extern texture mtlSkin2;
extern texture mtlSkin3;
extern texture mtlSkin4;
extern float4x4 matMtl;
extern float4x4 matViewInv;
technique untitled //Author: unknown
{
pass p0
{
//TEXTURE STAGE [0]
Texture[0] = <entSkin2>;
ColorOp[0] = DotProduct3;
//TEXTURE STAGE [1]
Texture[1] = <entSkin1>;
ColorOp[1] = Modulate;
}
};
That's the monochrome:
extern texture entSkin1;
extern texture entSkin2;
extern texture entSkin3;
extern texture entSkin4;
extern texture mtlSkin1;
extern texture mtlSkin2;
extern texture mtlSkin3;
extern texture mtlSkin4;
extern float4x4 matMtl;
extern float4x4 matViewInv;
technique untitled //Author: unknown
{
pass p0
{
//TEXTURE STAGE [0]
Texture[0] = <entSkin2>;
ColorOp[0] = DotProduct3;
//TEXTURE STAGE [1]
Texture[1] = <entSkin1>;
ColorOp[1] = Modulate;
}
};