glslEditor
glslEditor copied to clipboard
how to console.log?
hi, thank you for the book. i am running the electron version locally and would like to output values to the console. how would i go about that?
I believe that you can't log values in glsl code. One way to debug would be to return the vector that you're working on as the color. The other way is to use the timeline test feature in the editor. You won't get the exact values, but you'll know approximately what you're working with. I haven't checked the documentation yet to see if there is an actual way to check the values, but I doubt it.