Results 1 to 2 of 2

Thread: Vertex Shaders built-in variables

  1. #1

    Vertex Shaders built-in variables

    I am reading the OpenGL ES 2.0 Programming Guide book. Chapter 8 discusses about Vertex Shaders and it mentions about some built-in special variables such as gl_Positiongl_PointSize, gl_FrontFacing. Also, built-in Univorfm State gl_DepthRange, etc.

    Where can I find all the corresponding Vertex Shaders built-in variables on WebGL?

    I found the WebGL cheat sheet on http://www.nihilogic.dk/labs/webgl_chea ... _Sheet.htm. Do we have an equivalent of Vertex Shaders cheat sheet?

    Thanks in advance for your help.
    Best,
    -- Pion

  2. #2
    Member Coolcat's Avatar
    Join Date
    Oct 2009
    Location
    NRW, Germany
    Posts
    75

    Re: Vertex Shaders built-in variables

    I think you are searching for the current OpenGL ES Shading Language Specification. Take a look into chapter 7 ("Built-in Variables").

    If there is in future a new version of that specification, you will find it here:
    http://www.khronos.org/registry/gles/

Similar Threads

  1. Built-in random function
    By pelotoescogorciao in forum Suggestions for next release
    Replies: 1
    Last Post: 01-25-2012, 03:36 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
  •