Block Shadow Matchbox

I recently needed to make a block shadow effect on some text so I had claude make me a matchbox to do it. worked well so I added some more features and figured I’d share in case anyone else ever needs to do something like this.

All shader passes and xml

compiled .mx

Also just uploaded to the matchbook.

you can do a basic extruded looking block shadow based on angle and length:

make the shadow a gradient along the angle you set:

use a custom input for the shadow:

have the shadow fade off in opacity

outline it:

or do a perspective style block shadow with a custom vanishing point:

Thank you Sir. This will work for my 70s style exploitation movies… Just joking.

Lovely.