Open benoitdm-oslandia opened 2 years ago
Yeah in some cases the shadow rendering does not work well. Some of it may be bugs in the implementation, but more generally I think we need a different approach to shadow rendering (there are lots of different algorithms with different tradeoffs)
What is the bug or the crash?
When displaying shadows with a flat or dtm terrain, a strange big black appears and no shadows are displayed inside.
Here with a dtm:
Here without a dtm ie. all dtm layers are removed (only building layer remains), using a flat terrain:
Also when this bug occurs, only a small scene part can have shadows:
Here is a screencast:
Steps to reproduce the issue
Here is an example project: elevation_building_issue.zip elevation_building_issue_attachments.zip
dtm and building are from the test data folder (tests/testdata/3d/dtm.tif and tests/testdata/3d/buildings.shp).
Versions
Built from master source tree
Supported QGIS version
New profile
Additional context
No response