I have 2 inputs to a glsl:
input 1 = a 1x1 image
input 2 - a 640x480 image
I set gl_FragColor=(uInputRes2.x,1,1,1);
hoping to see - according to the documentation, the value 1/width
uInputRes2.x = returns 0
uInputRes2.y = returns 0
uInputRes2.z = returns 1
uInputRes2.a = returns 1
I’m confused, and apologise for asking basic questions!
I understand the last 2, I think, since the result is greater than 1 it could get clamped to 1,
but I should see a floating point value for the first 2 elements, (1/width and 1/height).
btw I’m looking at the values using top to chop (but the color I see in the output image seems to confirm the values as well).
any pitiful soul can enlighten me?