Capture shadows like in Blender

I’m looking for the way to render out shadows from 3d object in scene using Godot .
For demonstration I made this short in Blender to show what I mean :

Ok why in Godot not Blender ?

  • ultimate goal is add it into spritesheet generator to combine unshaded and shaded layer together
  • unshaded 3d model for sideview or isometric 2d game
  • shaded this be 3d shadow, particle, effects turned into 2d sprite along unshaded frame

current workflow of spritesheet generator using unshaded material - short demo below

I hope this was detailed enough , if not please ask question .

You want to render cast shadows only? Set the Transparency property of casting mesh instances to 1. They’ll be invisible but still cast shadows.

1 Like

yes that what I’m trying to do .

where can I find this casting mesh instance ?

Casting mesh instance is any mesh instance that casts shadows. The transparency checkbox is right above cast_shadows checkbox in the geometry instance section of node’s properties.

1 Like

Have tried to use it , but unfortunately can’t achieve only shadow without some visible mesh to project it on .

1 Like

Cast on white surface, and use as alpha (inverted).

You can also use shadow_to_opacity in receiver materials’s shadow properties.

2 Likes