Closed FarawayRay closed 5 years ago
If I run on win OpenGL, how do I need to do it? What is the function of resolution?
resolution.xy is the width and height of the WebGL viewport, in canvas pixels. This may not match the actual number of device pixels due to the use of the resolution selector at the top of the page.
resolution.xy
If I run on win OpenGL, how do I need to do it? What is the function of resolution?