createSpotShadowMesh

I saw this in one of the example scripts, but I can’t find any more info on it and what options are available. Anyone know more about createSpotShadowMesh?

Thanks,
Jeff

@MrBodean

This just creates a soft radial shadow (128x128 canvas2D-based texture applied to a square mesh). The source of the function can be found here (lines 118-144).

– Pavel

Yep, ahhhh, I just didn’t scroll down far enough, got it… thanks

1 Like