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

ssao use unlit_color instead of white #10117

Merged
merged 1 commit into from
Oct 14, 2023
Merged

Conversation

robtfm
Copy link
Contributor

@robtfm robtfm commented Oct 14, 2023

Objective

#10105 changed the ssao input color from the material base color to white. i can't actually see a difference in the example but there should be one in some cases.

Solution

change it back.

@robtfm robtfm added C-Bug An unexpected or incorrect behavior A-Rendering Drawing game state to the screen labels Oct 14, 2023
@alice-i-cecile alice-i-cecile added this to the 0.12 milestone Oct 14, 2023
@robtfm
Copy link
Contributor Author

robtfm commented Oct 14, 2023

this is separately fixed in #7820, this pr is in case that doesn't make it into 0.12

@JMS55
Copy link
Contributor

JMS55 commented Oct 14, 2023

@robtfm I'm unsure what the previous PR and this one is changing. Can you give me an overview of why base_color is no longer valid to pass?

@robtfm
Copy link
Contributor Author

robtfm commented Oct 14, 2023

Base colour doesn’t get set until a few lines later

@DGriffin91
Copy link
Contributor

Also unlit_color includes vertex colors

@alice-i-cecile alice-i-cecile added this pull request to the merge queue Oct 14, 2023
Merged via the queue into bevyengine:main with commit d9a0761 Oct 14, 2023
24 checks passed
ameknite pushed a commit to ameknite/bevy that referenced this pull request Nov 6, 2023
# Objective

bevyengine#10105 changed the ssao input color from the material base color to
white. i can't actually see a difference in the example but there should
be one in some cases.

## Solution

change it back.
rdrpenguin04 pushed a commit to rdrpenguin04/bevy that referenced this pull request Jan 9, 2024
# Objective

bevyengine#10105 changed the ssao input color from the material base color to
white. i can't actually see a difference in the example but there should
be one in some cases.

## Solution

change it back.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants