Frustum: Support reversed depth in setFromProjectionMatrix()#31464
Frustum: Support reversed depth in setFromProjectionMatrix()#31464Mugen87 merged 2 commits intomrdoob:devfrom
setFromProjectionMatrix()#31464Conversation
📦 Bundle sizeFull ESM build, minified and gzipped.
🌳 Bundle size after tree-shakingMinimal build including a renderer, camera, empty scene, and dependencies.
|
|
@Mugen87 FYI. |
|
Can't you just pass in the |
I don't think the renderer is accessible when the method is called... |
|
The light shadow classes could access the renderer if the shadow map module passes its reference to
AFAICS, with a bit of refactoring, it should be possible to just work with |
|
TBH, I'd appreciate it if this can be merged so we can get to the point where reverse depth is working correctly. There were so many bugs to address. I'll be glad to help with a refactoring once this settles down. Oh, remember, we still have to get reverse depth working for |
|
Sorry, my intent was not to block the PR. If we passing the reversed depth buffer boolean from I would wait with |
As the title says.