www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: kkl on June 05, 2014, 03:53:38 pm

Title: GLSL debug
Post by: kkl on June 05, 2014, 03:53:38 pm
Hi everyone,

Has anyone tried glsl debugging before on pc? I'm trying on glslDevil and Perf Studio, but with no luck, both don't work.
Title: Re: GLSL debug
Post by: AGP on June 06, 2014, 12:57:25 am
I don't remember which one I tried, but I did try one that worked fine. I'll be getting back to a shader on which I'm working (in a fairly blind, inexperienced way, I might add) in the near future, so I'll look it up.
Title: Re: GLSL debug
Post by: kkl on June 06, 2014, 03:28:59 am
Thanks alot, AGP. Looking forward to it. I have been spending few nights figuring how to debug a shader and it's really pain in the a**.
Title: Re: GLSL debug
Post by: EgonOlsen on June 06, 2014, 08:37:17 am
I think that i tried Perf Studio once but without much luck. I can't remember what the problem was though. Then again, i'm not a debugger guy anyway... ;D
Title: Re: GLSL debug
Post by: kkl on June 06, 2014, 12:01:55 pm
That's pretty cool that you built the entire JPCT shader without using debugger~ how did you do that?
Title: Re: GLSL debug
Post by: EgonOlsen on June 06, 2014, 01:55:07 pm
By looking at the output of the driver's shader compiler (in case of actual syntax errors) and by wild guessing. I'm not using debuggers for coding anyway, so i'm used to this way of doing it.