-
I tried to change the LightManager::Builder(LightManager::Type::SPOT)
.intensity(1.1e8)
.direction({ 0.0, -1.0, 0.0 })
.position({ 0.0, 2.0, -4.0 })
.falloff(100.0)
.spotLightCone( 1.0, 1.0 )
.castShadows(ENABLE_SHADOWS)
.build(*engine, app.light); I can see that the monkey is lit from above, but there is no trace of shadow on the ground plane. What am I missing? |
Beta Was this translation helpful? Give feedback.
Answered by
romainguy
Apr 24, 2021
Replies: 1 comment 2 replies
-
The ground plane is a special invisible shadow receiver meant for AR and it only supports directional shadows. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
jwwalker
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The ground plane is a special invisible shadow receiver meant for AR and it only supports directional shadows.