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 3 of 3

Thread: fragment shader state

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2004
    Location
    Southlake Texas USA
    Posts
    2

    fragment shader state

    is it possible to determine the state of a testure stage in a fragment shader? i.e. i want to decide in the shader whether to sample or not.

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Mar 2001
    Posts
    3,576

    Re: fragment shader state

    No.

    You can conditionally sample from a texture, but that's about it.

  3. #3
    Junior Member Newbie
    Join Date
    Feb 2004
    Location
    Southlake Texas USA
    Posts
    2

    Re: fragment shader state

    thats what i thought. it would sure be handy though.... thanks

Posting Permissions

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