Skip to content

ssao use unlit_color instead of white#10117

Merged
alice-i-cecile merged 1 commit into
bevyengine:mainfrom
robtfm:ssao-fix
Oct 14, 2023
Merged

ssao use unlit_color instead of white#10117
alice-i-cecile merged 1 commit into
bevyengine:mainfrom
robtfm:ssao-fix

Conversation

@robtfm

@robtfm robtfm commented Oct 14, 2023

Copy link
Copy Markdown
Contributor

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

robtfm commented Oct 14, 2023

Copy link
Copy Markdown
Contributor Author

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

@JMS55

JMS55 commented Oct 14, 2023

Copy link
Copy Markdown
Contributor

@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

robtfm commented Oct 14, 2023

Copy link
Copy Markdown
Contributor Author

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

@DGriffin91

Copy link
Copy Markdown
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
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