x3000 error

Posted By: Daedelus

x3000 error - 01/16/07 00:34

Hi,

In my .fx file, I get the error: "x3000- Unexpected Integer Constant"
Can someone please help me correct this or tell me how to fix? Thanks

Here's the .fx file:
------------------------
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 21plane //Author: formula_games
{
pass p0
{
//TEXTURE STAGE [0]
Texture[0] = <entSkin1>;
//TEXTURE STAGE [1]
Texture[1] = <mtlSkin2>;
ColorOp[1] = Modulate2X;
TextureTransform[1] = <matViewInv>;
TextureTransformFlags[1] = Count3;
TexCoordIndex[1] = cameraSpaceReflectionVector;
}
};
Posted By: Steempipe

Re: x3000 error - 01/16/07 02:22

Remove the digits from the Technique name. Try, for example, plane. Instead of 21plane.
Posted By: Daedelus

Re: x3000 error - 01/16/07 02:45

Yep. That was the problem.
Thanks!
© 2024 lite-C Forums