How would I replicate stencil shadows?

Heya Everyone!!

I’m trying to recreate stencil shadows which ROBLOX uses when they used to run G3D as their game engine. The issue is that I don’t know where to start. I found this post that would work, but I can’t seem to make it truly stencil shadows-like.

Setting ShadowSoftness around 0.2 seems to work, but it still appears blurry somewhat and has rounded edges which I don’t want. I want the shadows to be sharp.

Is there anything that can make stencil shadows, or in other words, make sharp shadows?

1 Like

Bumping this I guess, idk anymore.

1 Like

For anyone with the same problem, I found a decent module that does replicate it somewhat. The issue is that it’s really bad with a lot of parts and has a weird bug of having broken shadows when trying to cast shadows on big places (Somewhere around 256x256 where it shows).

Here’s the module if anyone wants it.

1 Like

idk how to make it work, cause I don’t know how to set it up correctly lol

bumping this for my game “OLD ROBLOX 2008” please help