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

[Bug] Strange mask with refined storage 2 in fabric #216

Closed
link-fgfgui opened this issue Jun 4, 2024 · 1 comment
Closed

[Bug] Strange mask with refined storage 2 in fabric #216

link-fgfgui opened this issue Jun 4, 2024 · 1 comment
Labels
not us This issue has nothing to do with us

Comments

@link-fgfgui
Copy link

Describe the bug
Install modern ui and refined storage 2. When the mouse is on the button next to the terminal/synthetic terminal, a special mask will form a circle and clear part of the UI.
安装modern ui 和 refined storage 2,当鼠标待在终端/合成终端的边上的按钮时,会有特殊的遮罩围成一圈并清除一部分ui

To Reproduce

  1. place a grid
  2. open the grid
  3. move mouse to the button
  4. see the strange mask

Expected behavior
There shouldn't be this mask.
不应该有这个遮罩
Screenshots
image
image

Environment

  • Mod Version:Fabric-1.20.1-3.10.1.4
  • Forge Version:Fabric 0.15.11
  • Operating System:windows 11 23h2 22631.3593
  • Graphics Card:rtx4050
  • Other Mods:refined storage 2
@BloCamLimb
Copy link
Owner

This is a drawing order issue in Refined Storage.

If the shadow effect of the tooltip is enabled, the coverage area of fragment output will be larger, and depth test is enabled on Minecraft's main target. To ensure transparency work, not only do you need to ensure Painter's Order, but you also need to ensure that the depth is greater than the depth of the existing fragments. The tooltip has a depth of 400, so you only need to make the tooltip the last draw operation of the render pass.

Relevant issue: neoforged/NeoForge#992

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not us This issue has nothing to do with us
Projects
None yet
Development

No branches or pull requests

2 participants