Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 7 of 7

Thread: Prefix for variables [core]

Threaded View

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2012
    Posts
    8

    Prefix for variables [core]

    I have an input to the vertex program called vertex_colour and I want to pass this value on to the fragment program. How should I call the variable that is an output to the vertex program and an input to the fragment program? Should I call it something like fragment_colour or varying_colour?
    Last edited by thecodinguniverse; 08-01-2012 at 05:10 AM. Reason: clarified question

Posting Permissions

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