Results 1 to 2 of 2

Thread: Problem with gl_position in shaders

  1. #1
    Junior Member
    Join Date
    Apr 2013

    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.
    Why is this parameter limited to floats

  2. #2
    Join Date
    Jun 2012

    Re: Problem with gl_position in shaders

    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

Similar Threads

  1. Shaders on OpenGL SC
    By selmanduatepe in forum OpenGL SC
    Replies: 1
    Last Post: 04-05-2010, 07:17 AM
  2. OGLES 1.1 - glLightfv & GL_POSITION
    By bonfo in forum OpenGL ES
    Replies: 2
    Last Post: 10-29-2007, 01:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean