View Single Post
Old 18th February 2018, 16:10   #7
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 883
xmuzack
your code has a lot of blatant errors.

ret= q12*(sampler_dancer1,uv); makes no sense and should be
ret= q12*tex2D(sampler_dancer1,uv);

Then,
ret= ret+tex2D+q13*(sampler_dancer2,uv);
What does that mean? You probably meant
ret= ret+q13*tex2D(sampler_dancer2,uv);

The message
error compiling ps_2_a warp shader: (170): error X3004: undeclared identifier 'text2D'
probably means that you typed text2D instead of tex2D. Check for typos.
Nitorami is online now   Reply With Quote