Results 1 to 2 of 2

Thread: A Question about Vertex shader

  1. #1
    Junior Member
    Join Date
    May 2005
    Location
    South Korea
    Posts
    2

    A Question about Vertex shader

    According to the Vertex_shader.txt, there are 96 registers for environment register and
    96 registers for local register.

    Is 96 or 192 of registers complemented inside the system?

    I'm confused.. Plz help me..


    Thanks~

  2. #2
    Junior Member
    Join Date
    Jun 2004
    Posts
    19

    Re: A Question about Vertex shader

    I don't know what document you're referring to. These tend to be constant variables used for fixed function pipeline stuff for example light positions (transformed to eyespace which implied a program) light colors, and many other variables defined by the fixed function pipeline. OpenGL ES 2.0 does away with the fixed function stuff and replaces them with generic attributes, but retains the concepts.

    Without a context I don't know know what you're referring to exactly.

Similar Threads

  1. Passing a mat3 attribute to a Vertex Shader
    By Sergejack in forum Developers Coding:Beginner
    Replies: 5
    Last Post: 05-23-2012, 03:05 AM
  2. Is texture2D allowed in a *vertex* shader?
    By sharoz in forum Developers Coding:Beginner
    Replies: 4
    Last Post: 12-07-2010, 02:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •