• Shaders
  • shadows from transparent/invisible geometry?

Hi. I'm doing top-down perspective.

I need to create a shader for a ceiling that is transparent, so the player can see inside a building, but casts shadows, so that the sun doesn't affect the interior.

I've tried every combination of flags I could think of, but Godot stubbornly turns off the shadows as soon as there's any transparency.

How do I do this?

Heh, didn't occur to me to check the mesh settings.

Thank you!

@MadMinstrel I’ve changed this topic into a question and marked @Megalomaniak ’s post as the answer. When creating a topic if you click the down arrow on the right of the New Discussion button, there will be a drop down that says something like New Question if you want/need to ask a question. By marking the topic as a question, you’ll be able to choose whether posts are the answer and it will come up in search results as a question.

It isn’t an issue either way, but I thought I’d mention it in case you didn’t know :smile:

5 days later

Gotcha! I had noticed that before but forgot it this time around. Sorry about that.

No problem and no reason to apologize! It's all good :smiley:

Write a Reply...