Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.

Shadowing for Static meshes #9

Answered by Cameron-Micka
shukenmg asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @shukenmg, this is a great question. Unfortunately when a material's "Shading Model" property is marked as "Unlit" Unreal's renderer doesn't calculate any static (or dynamic) shadow casting for that mesh. Which makes sense in context. To circumvent this there are a few options you can try:

  1. You could mark the material as "Default Lit" and "Fully Rough" and delete the "GT_DefaultLit" method. This makes a material that is cheap to render, and can cast/receive shadows. But... does not support any specular or environment reflections.

  2. In the above example if the book and table are static in respect to each other you could bake shadows into the albedo texture(s) in another tool. Similar t…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shukenmg
Comment options

Answer selected by shukenmg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants