Skip to content

Clean up facade cover rendering#4793

Merged
gustovafing merged 15 commits into
GregTechCEu:1.20.1from
screret:sc/clean-up-facade-cover-rendering
Apr 28, 2026
Merged

Clean up facade cover rendering#4793
gustovafing merged 15 commits into
GregTechCEu:1.20.1from
screret:sc/clean-up-facade-cover-rendering

Conversation

@screret
Copy link
Copy Markdown
Contributor

@screret screret commented Apr 18, 2026

What

Clean up facade rendering & make do the same kind of clamping AE2 does to the facade quads (instead of just slapping the textures on a plane in front of the facade)

Implementation Details

Read code comments & commit names

Outcome

Nicer, better functioning facade rendering

How Was This Tested

NYT :3

Additional Information

I used AE2 as a reference for most of this. Should work the same it did before.

Potential Compatibility Issues

The cover back plate texture isn't the same as the wire side texture, so resource packs can replace that separately now. Shouldn't matter too much to most, but it might break someone's resource pack if they want those two to be the same texture.
To fix that, just copy the wire side texture to gtceu:block/cover/cover_back_plate.

@screret screret requested a review from a team as a code owner April 18, 2026 17:32
@screret
Copy link
Copy Markdown
Contributor Author

screret commented Apr 18, 2026

Don't merge this until I add back a few lines I forgot to cherrypick

@gustovafing gustovafing added type: refactor Suggestion to refactor a section of code Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. labels Apr 19, 2026
@gustovafing
Copy link
Copy Markdown
Member

Spotless

screret added 3 commits April 28, 2026 17:13
# Conflicts:
#	src/main/java/com/gregtechceu/gtceu/client/renderer/cover/ICoverableRenderer.java
@screret
Copy link
Copy Markdown
Contributor Author

screret commented Apr 28, 2026

Done 👍

@gustovafing gustovafing merged commit a3e4b04 into GregTechCEu:1.20.1 Apr 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.20.1 Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. type: refactor Suggestion to refactor a section of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants