Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to console.log? #61

Open
LazerJesus opened this issue Feb 24, 2021 · 1 comment
Open

how to console.log? #61

LazerJesus opened this issue Feb 24, 2021 · 1 comment

Comments

@LazerJesus
Copy link

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?

@Mekolaos
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants