Skip to content

Conversation

@thygrrr
Copy link
Contributor

@thygrrr thygrrr commented Sep 23, 2023

The reference page suggests a very unfortunate lighting function that modulades the color values in ALBEDO with ALBEDO. This does not seem representative of the 4.x shading model. Additionally, it omitted LIGHT_COLOR.

Fix: Replacing the ALBEDO term with LIGHT_COLOR yields a much more predictable diffuse lighting example.

The reference page suggests a very unfortunate lighting function that modulades the color values in ALBEDO again. This does not seem representative of the shading model.

Also, it omitted LIGHT_COLOR; repalcing the ALBEDO term with LIGHT_COLOR gives a much more expected diffuse lighting example.
Copy link
Member

@clayjohn clayjohn left a comment

Choose a reason for hiding this comment

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

Sure!

@mhilbrunner mhilbrunner added bug topic:rendering area:manual Issues and PRs related to the Manual/Tutorials section of the documentation cherrypick:4.0 cherrypick:4.1 labels Sep 27, 2023
@mhilbrunner mhilbrunner merged commit a766184 into godotengine:master Sep 27, 2023
@mhilbrunner
Copy link
Member

mhilbrunner commented Sep 27, 2023

Merged. Thanks and congrats on your first merged contribution to Godot's docs!

For future PRs, Pull Request titles and commit messages are best when they not only contain where something was changed, but also a roughly what/why :)

@mhilbrunner
Copy link
Member

Cherry-picked to 4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:manual Issues and PRs related to the Manual/Tutorials section of the documentation bug cherrypick:4.0 topic:rendering

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants