Skip to content

How can I access uResolution in fragmentSource? #9773

Answered by asturur
SSShooter asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SSShooter
Comment options

Answer selected by SSShooter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants