Replies: 1 comment
-
how many times main is called in a vertex shader is the how many times main is called in a fragment shader depends on what you draw. It's called once for each pixel https://webglfundamentals.org/webgl/lessons/webgl-how-it-works.html |
Beta Was this translation helpful? Give feedback.
0 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was wondering if webgl has it own render loop... in the shadertoy what logic is looping the code? is it in the glsl environment to loop main function?
Beta Was this translation helpful? Give feedback.
All reactions