If I have a varying float in my shader program: varying highp float someFloat; and in the vertex shader, I set it to something. someFloat = 1.0; why in my fragment shader does this comparison seem to return false? someFloat == 1.0 // false but this returns true? someFloat > .0 // true testing on [...]
The post Why does varying float equality test fail in glsl? appeared first on BlogoSfera.