#My meshes are not casting shadows

1 messages · Page 1 of 1 (latest)

hot flume
#

For some reason, despite having a directional light with a cascadeshadowconfig, the meshes are not casting shadows on those around them, which leads to this weird visual where sunlight is visible on the mesh despite it being in a cave. Any idea as to what could be causing this? None of my meshes have a NoShadowReceiver or anything like that

worn stratus
#

Is it using a custom material?

hot flume
#

Yes, it’s a triplanar mapping material

#

I honestly thought shadows were added over it

worn stratus
#

No, you'll need to do the shadow sampling yourself. Well, not entirely yourself, there are premade functions to help, but yeah, shadows need to be handled manually. I don't remember what those functions are right now though

hot flume
#

Ahh alright

hot flume
hot flume
#

I can’t find anything on shadow sampling there

north sphinx