I've been enjoying experimenting with the GPU, but as far as I can tell, image transparency is not supported in 2D or 3D rendering when loading a PNG file. It's possible that I'm missing something, as it seems the documentation is somewhat unclear, but it would be greatly appreciated to be able to use PNG images with transparency!
I've been trying to write a script to render a model from a Minecraft-style '.json' file and I got really hung up thinking I had made some mistake with my uvs before I realized that the test model I was using (the default player model) happened to have a transparent overlay, which was making everything wonky.
If it so happens that transparency is actually supported, and I just missed something, I would love if you could point me in the right direction to make that work!
Here's what it currently looks like thanks to the transparency rendering incorrectly:
Here's what it should look like (this was taken with a version of the model that didn't have the second skin layer):
Thank you for putting time into this mod regardless! It's a lot of fun to mess with!
Edit: Just realized I should note that I'm using the mod on Minecraft 1.19.2!
I've been enjoying experimenting with the GPU, but as far as I can tell, image transparency is not supported in 2D or 3D rendering when loading a PNG file. It's possible that I'm missing something, as it seems the documentation is somewhat unclear, but it would be greatly appreciated to be able to use PNG images with transparency!
I've been trying to write a script to render a model from a Minecraft-style '.json' file and I got really hung up thinking I had made some mistake with my uvs before I realized that the test model I was using (the default player model) happened to have a transparent overlay, which was making everything wonky.
If it so happens that transparency is actually supported, and I just missed something, I would love if you could point me in the right direction to make that work!
Here's what it currently looks like thanks to the transparency rendering incorrectly:
Here's what it should look like (this was taken with a version of the model that didn't have the second skin layer):
Thank you for putting time into this mod regardless! It's a lot of fun to mess with!
Edit: Just realized I should note that I'm using the mod on Minecraft 1.19.2!