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

[Feature Request] Add transparency support for blocks #17

Open
TBlazeWarriorT opened this issue Jan 9, 2024 · 0 comments
Open

[Feature Request] Add transparency support for blocks #17

TBlazeWarriorT opened this issue Jan 9, 2024 · 0 comments

Comments

@TBlazeWarriorT
Copy link

TBlazeWarriorT commented Jan 9, 2024

Feature Description

Make this allow all* blocks to have translucent parts in resource packs.

Context and Inspiration

I was trying to make a 3D model for Alex's Caves and I wanted it to have transparent lenses
It looks great and all in Blockbench
image
But then in game it just looks like 💩 (I use MC 1.20.1)
image

Then I did some googling and it seems like there's almost no way to fix this - except maybe writing vanilla shaders which is terribly inefficient (time-wise) and problematic (low compatibility). If this mod doesn't add this, I don't think anyone else will lol and it'd be great to have flexibility for transparency on resource packs for blocks too.

Performance concerns

If someone says enabling transparency on all blocks would cause issues: yes, I'm almost sure it would. So ideally we'd only turn it on automatically or semi-automatically on blocks that are using the transparency. Either by detecting the texture being a 32-bit PNG or using the alpha channel, or through a property file inside the resource pack, or any other way.

Can this be a gameplay advantage?

Someone could maybe abuse this to use as x-ray, but OptiFine already allows this and it's the user's responsibility and you could also blacklist basic blocks like stone and dirt that should never look transparent anyways tbh, or requiring the mod to be installed on the server for that part to work, idk.

Does This Add New Behavior or Change Current Features?

Adds transparency to blocks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant