How do I make a specific area dark?

You mean like this?


GIF Recording 2024-07-17 at 11.14.58 PM
I’m not sure what I’m supposed to see.
Not using a “panini projection or some kind of effect that could be altering the world coordinates based on view” as far as I know. I have just started messing with materials and such on this project.