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

Improve TOPAddons fluid rendering #42

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

Mireole
Copy link
Contributor

@Mireole Mireole commented Jan 12, 2025

This PR changes the way fluids are rendered with TOPAddons by editing ElementTankGaugeMixin.
Instead of simply drawing a colored box, the fluid's texture is rendered
screenshot1
screenshot2

@Mireole
Copy link
Contributor Author

Mireole commented Jan 12, 2025

The only problem I could find is the rendering of very dark fluids looking a bit weird, however this already was a problem with the previous method. Is this fine or should this be changed to brighten the border when a dark fluid is used ?
Before:
before
After:
after

@IntegerLimit
Copy link
Member

The dark fluid rendering problem is perfectly fine.

Copy link
Member

@IntegerLimit IntegerLimit left a comment

Choose a reason for hiding this comment

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

Looks good! I might make one small change, but its not really needed, and is just because its bugging me.

@IntegerLimit IntegerLimit merged commit 558b549 into Nomi-CEu:main Jan 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants