We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
length() method only works for vec4.
varying vec2 texcoord0;
float l = length(texcoord0);
yields
dp4 ft1.x, v0.xyyy, v0.xyyy sqt ft1.z, ft1.xxxx
So it calculates sqrt(x_x + y_y + y_y + y_y)
Most likely distance() is also wrong (haven't checked).
vec2 tc = normalize(texcoord0);
nrm ft1.xy, v0.xyyy
Error #3628: AGAL validation failed: The destination operand for the nrm instruction must mask w (use .xyz or less) at token 2 of fragment program.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
length() method only works for vec4.
varying vec2 texcoord0;
float l = length(texcoord0);
yields
dp4 ft1.x, v0.xyyy, v0.xyyy
sqt ft1.z, ft1.xxxx
So it calculates
sqrt(x_x + y_y + y_y + y_y)
Most likely distance() is also wrong (haven't checked).
varying vec2 texcoord0;
vec2 tc = normalize(texcoord0);
yields
nrm ft1.xy, v0.xyyy
Error #3628: AGAL validation failed: The destination operand for the nrm instruction must mask w (use .xyz or less) at token 2 of fragment program.
The text was updated successfully, but these errors were encountered: