Skip to content

Document the direction that directional and spot lights emit light in #107279

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

Merged
merged 1 commit into from
Jun 10, 2025

Conversation

aaronfranke
Copy link
Member

I was curious which direction that DirectionalLight2D emitted in, so I checked the docs, but it wasn't documented. I tested that it's +Y, then added it to the documentation. However, this information was also missing from DirectionalLight3D and SpotLight3D, so I have added it to there as well. I also documented that the spot angle is the angular radius.

@aaronfranke aaronfranke added this to the 4.5 milestone Jun 8, 2025
@aaronfranke aaronfranke requested a review from a team as a code owner June 8, 2025 10:37
Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@akien-mga akien-mga merged commit 624d1d0 into godotengine:master Jun 10, 2025
20 checks passed
@akien-mga
Copy link
Member

Thanks!

@aaronfranke aaronfranke deleted the doc-light-direction branch June 10, 2025 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants