-
I want to use a fragment shader which use |
Beta Was this translation helpful? Give feedback.
Answered by
asturur
Mar 28, 2024
Replies: 1 comment 1 reply
-
where does u_resolution comes from? We have uStepW and uStepH |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
SSShooter
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
where does u_resolution comes from?
We have uStepW and uStepH
uniform float uStepW; uniform float uStepH;
That tells you ( if i recall correctly ) how much percentage of the image each pixel is