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: How to debug with shader, I've been stuck for 2 days and having no clue...

Threaded View

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2011
    Posts
    24

    Question How to debug with shader, I've been stuck for 2 days and having no clue...

    I'm a beginner in opengl, recently I'm learning GLSL.
    but I find it's really difficult to dubug because I can't make break piont in shader files(that't usually how I do it).
    I also tried use transform feedback to retrieve data from shader files but ended up getting (0, 0, 0, 0) all the time, so I assume there must be something wrong in my setup of transform feedback.

    How do you guys debug with shaders efficiently? can some tell me how to use transform feedback?
    Last edited by Sobeit; 12-06-2012 at 11:01 PM.

Tags for this Thread

Posting Permissions

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