I would like to make a ‘shadowmapped point light’ with six 90deg spotlights.
I'm at a loss how to make a spotlight cast a rectangle instead of the usual circular mask. An all-white projection map doesn't do the trick, and i can't find any relevant rendering param either.
I guess I could make a small rectangular projection map that fits inside the spot circle and make the spot so wide that the small rectangle fits the 90deg projection angle. Of course the shadow map projection angle would need to be decoupled and adjusted appropriately.
With a little bit of math it should all line up, but I'm wondering if there is some way of getting rid of the default circular mask.