Results 1 to 3 of 3

Thread: OGLES 1.1 - glLightfv & GL_POSITION

  1. #1
    Junior Member
    Join Date
    Oct 2007
    Posts
    7

    OGLES 1.1 - glLightfv & GL_POSITION

    I have read the OGLES 1.1 specification and i have noticed that the glLightfv function doesn't support the GL_POSITION parameter, while the version 1.0 does.

    Could someone explain me how i should specify the position of a light with OGLES 1.1 and why the specification was changed??

    Thanks

  2. #2
    Senior Member
    Join Date
    May 2006
    Posts
    353

    Re: OGLES 1.1 - glLightfv & GL_POSITION

    Quote Originally Posted by bonfo
    I have read the OGLES 1.1 specification and i have noticed that the glLightfv function doesn't support the GL_POSITION parameter, while the version 1.0 does.
    That's not the case. This is a mistake in the man page. The spec says that GL_POSITION is of course still a valid parameter.
    Georg Kolling, Imagination Technologies
    Please ask questions specific to PowerVR hardware or SDKs on the PowerVR Insider Forum
    DevTech@imgtec.com | http://www.powervrinsider.com

  3. #3
    Junior Member
    Join Date
    Oct 2007
    Posts
    7
    Thanks!
    I was guessing that there were something wrong

Similar Threads

  1. Problem with gl_position in shaders
    By Worker in forum OpenGL ES general technical discussions
    Replies: 1
    Last Post: 04-03-2013, 01:37 PM
  2. Multitexturing && Texture With Alpha Channel problem....
    By Rubbio in forum OpenGL ES general technical discussions
    Replies: 1
    Last Post: 04-20-2009, 06:51 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
  •