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] Transparent/translucent gears with shaders #117

Open
Dumpling00 opened this issue Jul 24, 2024 · 4 comments
Open

[Bug] Transparent/translucent gears with shaders #117

Dumpling00 opened this issue Jul 24, 2024 · 4 comments
Labels
Bug Something isn't working Low Priority

Comments

@Dumpling00
Copy link

Describe the bug

Recording.2024-07-24.112852.mp4

To Reproduce
Steps to reproduce the behavior:

  1. Install latest version of copycats+
  2. Set down copycat cogwheels
  3. Use any material on em, or don't
  4. See transparency, usually in the direction of the sun.

Expected behavior
To not see a change in translucency depending on view angle.

Screenshots
See video

Desktop (please complete the following information):

  • Minecraft Version: 1.20.1
  • Mod Loader Fabric
  • Mod Version 2.0.5

Additional context
Add any other context about the problem here.

@Dumpling00 Dumpling00 added the Bug Something isn't working label Jul 24, 2024
@hlysine
Copy link
Member

hlysine commented Jul 24, 2024

Seems to be a z-order issue. What shader are you using, and does it also happen with base Create cogwheels?

@Dumpling00
Copy link
Author

Complementary Shaders! And no, the base Create cogwheels are opaque on all sides and at all angles.

@hlysine
Copy link
Member

hlysine commented Jul 26, 2024

Switching the Flywheel render layer to cutout fixes the issue by not blending the copycat with the skybox. However, this introduces another issue where stacked translucent textures are invisible, which also happens in vanilla minecraft.

@hlysine
Copy link
Member

hlysine commented Jul 26, 2024

Unfortunately the fix also breaks bracket rendering for translucent materials, and we'd rather support that than fixing shaders which don't work well with Flywheel anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Low Priority
Projects
None yet
Development

No branches or pull requests

2 participants