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?