A work test I did. The goal was to make a maxscript tool that spawns a textured dome that would create a spotlight on each vertex of the dome. The spotlight samples the color from the texture at the position it spawns. All spotlights points towards the center of the dome.
script can be found here: https://github.com/Moeren588/SpotlightDomeMaxscript