You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the issues seems to be shadows flickering when moving the camera. I believe the shadow matrices should be updated before rendering. I’d suggest adding onUpdateBefore and onUpdateAfter hooks in Node as they seems to be necessary anyway, (I noticed similar issues with reflector and postprocessing), along with associated helpers like onRenderUpdateBefore. However, I’m not sure if this alone would fully resolve the issue. Another problem is that only one shadow appears to be rendered, which might indicate that only one matrix is being updated correctly. /cc @sunag
@sunag Thanks for the quick update! Unfortunately, half of the issue is still here. It seems the shadow matrix is updated too late, causing the shadows to flicker when moving the camera in the example.
Description
Related:
#29849
#29989
#29991
The CSM shadows aren't working anymore.
One of the issues seems to be shadows flickering when moving the camera. I believe the shadow matrices should be updated before rendering. I’d suggest adding
onUpdateBefore
andonUpdateAfter
hooks in Node as they seems to be necessary anyway, (I noticed similar issues with reflector and postprocessing), along with associated helpers like onRenderUpdateBefore. However, I’m not sure if this alone would fully resolve the issue. Another problem is that only one shadow appears to be rendered, which might indicate that only one matrix is being updated correctly. /cc @sunagLive example
https://rawcdn.githack.com/mrdoob/three.js/dev/examples/webgpu_shadowmap_csm.html
Screenshots
Version
r171
The text was updated successfully, but these errors were encountered: