-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SpotLight: rectangular spot light shape #17528
Conversation
I saw it but it is completly inactive for a while now... Maybe i can create a new type of light call RectangularSpotLight? |
What if someone wants a TriangularSpotLight^^? It seems this approach does not scale very well... |
I've just implemented what was suggested by @mrdoob in this comment #13057 (comment) Regarding this comment, this PR seems to be a good idea. Also a filter map could be added for creating any shape ;-) |
I think your approach is too limited. Using a texture in the sense of Cookies is much more flexibel, IMO. |
I think that cookies are the best way to model the "barn doors" on studio lights. I would prefer to go the cookie route. |
This PR add the possibility to change the spot light shape from Circle to Rectangular