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…


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.

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