cocos-engine
cocos-engine copied to clipboard
Planar shadows don't work correctly if 3D models are scaled with low values
Cocos Creator version
3.8.0
System information
Windows 11
Issue description
Planar shadows don't work when the ortho camrera is far. The shadows are above the 3D model.
See the video: https://www.loom.com/share/e06274f58f24484fb80c7370f26e00b0
Relevant error log output
No response
Steps to reproduce
Active Shadows on the scene and set type Planar. Create a 3D primite and active the drop shadows. Move the ortho camera to a far position. It's visible in the editor too.
Minimal reproduction project
No response