Closed lyh2 closed 1 month ago
directionalLight.shadow.mapSize.set(20248, 2048)
I think this is a typo in your code, it's unlikely that your device will let you create textures this large. Perhaps you meant 2048x2048? For support in general, please use the following:
It's my mistake, sorry. write 2048 to 20248
Description
use three.js 0.169.0 WebGPURenderer not runing with report warning 👍 Texture size ([Extent3D width:20248, height:2048, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
school:1 Texture size ([Extent3D width:20248, height:2048, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
school:1 [Invalid Texture] is invalid.
school:1 [Invalid Texture] is invalid.
121[Invalid TextureView] is invalid.
121[Invalid CommandBuffer from CommandEncoder "renderContext_1"] is invalid.
school:1 [Invalid Texture] is invalid.
school:1 [Invalid Texture] is invalid.
10[Invalid TextureView] is invalid.
121[Invalid BindGroup "bindGroup_object"] is invalid.
121[Invalid CommandBuffer from CommandEncoder "renderContext_0"] is invalid.
school:1 WebGPU: too many warnings, no more warnings will be reported to the console for this GPUDevice.
Reproduction steps
Code
Live example
Screenshots
No response
Version
169
Device
Desktop
Browser
Chrome
OS
MacOS