TSL: Force flat shading for geometries without normals for normal* nodes#32848
Conversation
📦 Bundle sizeFull ESM build, minified and gzipped.
🌳 Bundle size after tree-shakingMinimal build including a renderer, camera, empty scene, and dependencies.
|
normalsnormal* nodes
|
Thank you! |
|
I think this change broke https://rawcdn.githack.com/mrdoob/three.js/dev/examples/webgpu_performance.html |
|
This appears to be related to #32906 👀 |
|
Nice! Any ideas of why the E2E tests didn't catch this? |
I think that's because the update only affected the WebGPUBackend. |
|
Maybe wrong place to ask.. Im getting this, when i use flatshading = true and without normals.
Im not using normals, since I dont need them/want to save memory usage. |
|
@VegarRingdalAibel Hmm... I thought we had solved this problem. I wasn’t able to reproduce it in Could you provide a fiddle for the issue?
|
|
@sunag Ill try and find out it related since you dont have any issues.
|
|
yes, its due to my custom batched mesh part, had to skip more part.. |



Related issue: #32831
Description
Force flat shading for geometries without normals for
normal*nodes.