Improve glass pane rendering#270
Conversation
Fixes rendering for both clear and stained glass panes, and cleans up some older code. This commit is missing textures for the tops and bottoms of the stained panes.
|
Fixes #267 |
|
The panes don't really look good in an inventory, any specific reason you removed the 3d look? |
I did that to more closely match the look to that of vanilla glass, should it stay like that? I have no preference either way. |
I certainly liked the old look a lot better |
|
Can you please fix the block breaking animation? In survival it looks very weird trying to break the panes |
There has to be a simpler way... Can't we split the panes into middle and side parts and render each accordingly? If you want I could try and take a stab at it, but it would take some time until I get to it. |
Luca-Guettinger
left a comment
There was a problem hiding this comment.
1 potential regression (torch placement on stained glass), 2 nits.
|
There's still the two issues I mentioned:
|
|
@Majora320 What do you say to my changes regarding pane rendering? Both the look and the code logic. |
Luca-Guettinger
left a comment
There was a problem hiding this comment.
1 minor bug (inventory bottom icon for stained panes), 1 nit.
I think 3D isn't a bad idea to differentiate them from vanilla panes, otherwise they look very similar.
Looks good to me, thanks for doing the annoying work of handling all the edge cases :) the rendering is quite smooth now |
|
Great, thanks for your work, a welcome improvement! |



Currently the rendering for the clear glass and stained glass panes is somewhat broken, displaying unwanted vertical lines when viewed from certain angles. Stained glass rendering & connectivity is also not optimal. This commit implements custom glass rendering based off of Vanilla that should be an improvement and allow for artifact-free clear glass panes in builds.
Fixes #267
Before:


After: