[Feature Request] Add transparency support for blocks
TBlazeWarriorT opened this issue · 2 comments
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
But then in game it just looks like 💩 (I use MC 1.20.1)
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.