Skip to content
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

Comment the shader template light function by default #84594

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

reduz
Copy link
Member

@reduz reduz commented Nov 7, 2023

This is a minor usability tweak.

The light functions replace the default ones, so even if empty they will avoid the current shader to have proper lighting and users will have no idea why.

Code was changed to have the shader function commented by default, indicating that uncommenting replaces the default function.

Bugsquad edit: fixes: #84639

This is a minor usability tweak.

The light functions replace the default ones, so even if empty
they will avoid the current shader to have proper lighting and
users will have no idea why.

Code was changed to have the shader function commented by default,
indicating that uncommenting replaces the default function.
@reduz reduz requested a review from a team as a code owner November 7, 2023 22:23
Copy link
Contributor

@paddy-exe paddy-exe left a comment

Choose a reason for hiding this comment

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

LGTM 👍🏻

@Calinou Calinou added this to the 4.3 milestone Nov 7, 2023
@akien-mga akien-mga added the cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release label Nov 8, 2023
@akien-mga akien-mga merged commit be585ac into godotengine:master Dec 4, 2023
15 checks passed
@akien-mga
Copy link
Member

Thanks!

@YuriSizov
Copy link
Contributor

Cherry-picked for 4.2.1.

@YuriSizov YuriSizov removed the cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release label Dec 5, 2023
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.

PointLight2D doesn't work on Tilemap that uses shader if you have an empty light function
6 participants