heremaps/harp.gl

When I set the receive shadow to true, the extruded polygon in the scene will dynamically appear a black background

Closed this issue · 5 comments

Is your feature request related to a problem? Please describe.
When I set the receive shadow to true, when I move the scene, the stretched polygon in the scene will dynamically appear a black background on the side of the stretched polygon with its back to the sun.

1

@datouzhan , what lights do you have in the scene?

I set up AmbientLight and directionLight
image

There is another problem. I use lambert material on the top of the building, but unfortunately it doesn't appear in the color I set. Instead, it appears as black. I want to set the material to accept the light and let it change with the light.If I set the standard material, the top face will keep flickering as I move the scene.
image
when i use basic material on the top of the building, the color is normal

@datouzhan , sorry that I never responded. Somehow I lost track of this.

Have you made any progress?

I find it strange that you get this, we don't have such an issue on the shadow demo: https://www.harp.gl/docs/master/examples/#real-time-shadows.html

Have you done anything that could have affected it?

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.