Problem with gl_position in shaders


I want to change the size for gl_Position
from float to double, but i havn’t found a solution. :frowning:
Why is this parameter limited to floats :?:

ALL of OpenGL ES 1.1 and 2.0 is limited to single precision float, including GLSL ES.

In order for gl_Position to benefit from double precision, you would need a very large display to be able to perceive the improvement in precision. OpenGL ES is intended for embedded devices which usually do not have large displays. Regular OpenGL does support double precision.

Regards, Clay

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.