Archive 17/01/2023.

[solved]Transparent plane and objects with shade on it

DUNDUN-ww

Hello, everyone~
I just begin to study urho3D and I want to ask a question.
I want to build transparent ground with objects on this ground and these objects should have its shade.
However, when I set the ground into transparent, these objects can not have shade.
Looking for your answers~ Thanks

PsychoCircuitry

Hi,

I think this thread might have the answers.

Summary, shadow maps are reused per light while rendering by default and thus are no longer available during the transparent pass. You can turn shadow map reuse off at the expense of larger video bandwidth (if you’re using multiple shadow casting lights) but then the maps are still available on this pass. Then it’s just configuring your material technique to work as expected. There’s more details in the linked thread.

Hope that helps, good luck on your project!
-PsychoCircuitry

DUNDUN-ww

Your answer is so helpful. The question was solved based on your answer. Thank you very much~