Skip to content

Commit

Permalink
content: Adjust jetpack exhaust emission.
Browse files Browse the repository at this point in the history
Part of fixing <#504>.
Previously, emission would be reduced by alpha, which I am now defining
to be the wrong approach. So, within the new paradigm, the jetpack
exhaust needs to be dimmer to produce the desired visual results.
The good(?) news is, this means the jetpack no longer lights up brightly
because the new rendering better matches what light propagation does.

This commit makes the renderer tests pass again by blessing the new
`icons` output.
  • Loading branch information
kpreid committed Aug 9, 2024
1 parent ba98a0e commit e6f1dfe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion all-is-cubes/src/inv/icons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ impl Icons {
let exhaust = if active {
Block::builder()
.color(rgba_const!(1.0, 1.0, 1.0, 0.1))
.light_emission(rgb_const!(1.0, 0.8, 0.8) * 10.0)
.light_emission(rgb_const!(1.0, 0.8, 0.8) * 1.0)
.build()
} else {
AIR
Expand Down
Binary file modified test-renderers/expected/renderers/icons-all.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e6f1dfe

Please sign in to comment.