Example: alias fc2, CONST1(-1.0, 2.0, 0.0, 0.0); tex ft2, texcoord, normalmap <2d, clamp, linear> mul ft2.xyz, ft2.xyz, 2.0 add ft2.xyz, ft2.xyz, -1.0 Gives Error: Numeric constant used that is not declared in a constant register.
Example:
alias fc2, CONST1(-1.0, 2.0, 0.0, 0.0);
tex ft2, texcoord, normalmap <2d, clamp, linear>
mul ft2.xyz, ft2.xyz, 2.0
add ft2.xyz, ft2.xyz, -1.0
Gives
Error: Numeric constant used that is not declared in a constant register.