Skip to content

Canvas PixelRatio auto change onScroll #1474

Answered by Melvynx
Melvynx asked this question in Q&A
Discussion options

You must be logged in to vote

Ok I found the solution to handle pixel ratio using react-three-fiber with : dpr={[1, 2]} the problem is solved.

But If exist a way to get the pixelratio of GL when the pixelratio change, like "add an event" ?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@drcmda
Comment options

@Melvynx
Comment options

Answer selected by Melvynx
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