-
-
Notifications
You must be signed in to change notification settings - Fork 36k
Closed
Milestone
Description
Description
When rendering objects at a large distance from the origin in WebGPURenderer the transformations are choppy and imprecise. There are no issues with WebGLRenderer. My assumption is that the model * view
transformation is being performed on the GPU vs CPU, as is done with WebGLRenderer.
Related to NASA-AMMOS/3DTilesRendererJS#1079
Reproduction steps
- Render objects with transformations that are far from the origin.
- Notice incorrect, jittery transformations.
- Notice that animations look correct with WebGLRenderer.
Code
// positions the whole scene very far from the origin
scene.position
.set( 1, 1, 1 )
.multiplyScalar( 1e8 );
Live example
https://jsfiddle.net/1z9wjtk0/2/
Replace WebGPURenderer with WebGLRenderer in the above demo to see the difference.
Screenshots
No response
Version
175
Device
No response
Browser
No response
OS
No response
Metadata
Metadata
Assignees
Labels
No labels