Any way to make Spotlight an actual cone?
I've been messing around with lighting in Unity and I noticed that the Spotlight despite using a cone in the Editor actually has a rounded end. Is there any way for the end to be flat like it looks in the Editor?
Whether through shaders, code, or whatever doesn't matter to me, I just want it to be an actual cone.
Here you can see how the end of the Spotlight is rounded.
One of the things I tried was making the light falloff function a straight line (No falloff; No fade) using a package that allowed me to do so (https://github.com/alexismorin/Falloff-Customizer), this made the light not fade sideways, but the rounded end was still there, the light wasn't following my custom fallof lengthwise.
EDIT: Even if it isn't a cone I'd at least like there to be no fade, just a hard edge at the end of the Spotlight lengthwise, so any way to do even that is greatly appreciated.
EDIT 2: I've learned of Projectors, these seem to be perfect for what I want, but sadly they go through walls, so any way to prevent Projectors from going through walls would also help.
Your answer
![](https://koobas.hobune.stream/wayback/20220613000428im_/https://answers.unity.com/themes/thub/images/avi.jpg)