You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you set something to be visible through objects, it does not work with transparent widgets. Tested with Cube3D and Text3D
In which environment did the Bug appear?
Multiplayer server
To Reproduce
Steps to reproduce the behavior:
Use code below
Put wall in front of cube
See lack of visibility through wall.
Expected behavior
When set to true, 3d widgets with transparency should be visible through walls.
Screenshots / Code Snippet
If applicable, add the code you used and screenshots of how your setup looks like
localcomponent=require("component")
cube=component.glasses.addCube3D()
cube.setVisibleThroughObjects(true)
cube.addColor(1, 0, 0, 0.6)
cube.addTranslation(-5, 1, 0) -- put a wall on the -X direction
Without transparency:
With transparency:
Minecraft:
Mod Version: OpenGlasses 2.2-50
Minecraft Version: 1.12.2
Forge Version: Forge 14.23.5.2847
The text was updated successfully, but these errors were encountered:
unfortunately this cant be fixed easily, i could make them visible behind walls BUT minecraft doesn't do depth sorting, so stuff would just overlap each other depending on what was drawn first.
if this will ever be fixed then after adding manual depth sorting for openglasses widgets, so i'll leave the bug open as enhancement
Describe the bug
If you set something to be visible through objects, it does not work with transparent widgets. Tested with Cube3D and Text3D
In which environment did the Bug appear?
Multiplayer server
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When set to true, 3d widgets with transparency should be visible through walls.
Screenshots / Code Snippet
If applicable, add the code you used and screenshots of how your setup looks like
Without transparency:
With transparency:
Minecraft:
The text was updated successfully, but these errors were encountered: