-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TSL: Introduce screenUV
, screenSize
, screenCoordinate
and viewport
revision
#29347
Conversation
📦 Bundle sizeFull ESM build, minified and gzipped.
🌳 Bundle size after tree-shakingMinimal build including a renderer, camera, empty scene, and dependencies.
|
I think it would be odd if |
The |
Related issue: Closes #29162
Description
viewportSize
,viewportCoordinate
,viewportUV
, followed the logic related to viewport, whilescreenUV
,screenSize
andscreenCoordinate
followed the logic used previously andscreen*
considering the framebuffer.Screen
screenUV
screenSize
screenCoordinate
Viewport
viewportUV
viewport
viewportSize
viewportCoordinate