Hi, i'm trying to enable weapon shadows in dx11 mode. What's problem - in DX11, instead of DX9, foreground depth sorting not write depth texture.
I set SDPG_World sorting in Weapon properties and shadows working fine but only with Skeletal Meshes. To work with Static Meshes, weapon mesh component need to set CastShadow = true, but with this weapon start cast shadow on the ground which is bad to me

If we could access to write values in Depth texture, it's can be solved by 2 instructions... but we can't
What will be solution for this?
I set SDPG_World sorting in Weapon properties and shadows working fine but only with Skeletal Meshes. To work with Static Meshes, weapon mesh component need to set CastShadow = true, but with this weapon start cast shadow on the ground which is bad to me

If we could access to write values in Depth texture, it's can be solved by 2 instructions... but we can't

What will be solution for this?
Comment