hi,
I am using cgFx with maya and bumped into a problem and have no idea how to solve it. I would like to be able to animate/set my repeat and offset values in the shader. I have built up the controls and the relevant lines in the code and it works beautifully until I move the timeLine. ANY offset-change will make the texture dissappear or became messed up, and anything above one for the repeat would make a portion of the texture disappear....... Im not sure what is the solution any help would be appreciated.
Tx Gyuri
Replies
sampler2D ColorSampler = sampler_state {
Texture = <ColorTexture>;
MinFilter = LinearMipMapLinear;
MagFilter = Linear;
WrapS = Repeat;
WrapT = Repeat;
}
excuse my newby questions I have just started on this......