so I've been spending a long time on a texture pack I'm making called Flickr, And from the first day of making it I've noticed that when I'm on fast graphics in game the opaque parts of my texture are a bright shade of green instead of black. Is there anyway I can fix this?
so I've been spending a long time on a texture pack I'm making called Flickr, And from the first day of making it I've noticed that when I'm on fast graphics in game the opaque parts of my texture are a bright shade of green instead of black. Is there anyway I can fix this?
For starters, they're not actually a bright shade of green. They're white. It's just that the biome overlay is coloring them green just like it colors everything else green.
This is an important distinction because it helps us understand what's causing the problem. That is, the way image files are formatted. See, there's no "transparent" color. There's RGB, the color channels, and the Alpha which is transparency. Every single pixel has all four of these channels. That means that even the "transparent" areas are still storing color information... you just can't see it.
So why white? Well, because that's what your editor likes. Other editors use black. It's simply a way of filling transparent pixels with something that won't take up a lot of data since the image editor doesn't think it'll matter one way or another. Clearly most image editors have never met Minecraft.
Now one fix is just to save these files in an editor that uses black transparency. But that's not the only way to do it. See, Minecraft is actually really weird in how it handles transparency. It likes to do a lot of rounding when there are border cases. So, for example, if you were to fill those transparent areas with 1% black then Minecraft would just disregard it. BUT, because there is some opacity, your image editor won't just white it out. Get it?
However there's an even better way to do transparent leaves. Because you now understand that it's possible to get Minecraft to save that color information you can create a separate layer where you actually color in those transparent areas with whatever you want. Effectively this will make it so that you have a complete "opaque leaves" texture that's no different from any other solid block texture in your pack. You just set those bits that you don't want to show up on fancy graphics to 1%, save the file, and the texture will seamlessly move back and forth between your transparent leaves texture and the fully-realized opaque version. No ugly black OR white lines in sight!
I hope that explains everything well enough, and best wishes on your pack!
Thanks for the descriptive answer, and yes I do think the black/white lines are ugly, but I'd rather use them so I can see the leaf textures more clearly and more differentiated from the shading under the leafs.
so I've been spending a long time on a texture pack I'm making called Flickr, And from the first day of making it I've noticed that when I'm on fast graphics in game the opaque parts of my texture are a bright shade of green instead of black. Is there anyway I can fix this?
For starters, they're not actually a bright shade of green. They're white. It's just that the biome overlay is coloring them green just like it colors everything else green.
This is an important distinction because it helps us understand what's causing the problem. That is, the way image files are formatted. See, there's no "transparent" color. There's RGB, the color channels, and the Alpha which is transparency. Every single pixel has all four of these channels. That means that even the "transparent" areas are still storing color information... you just can't see it.
So why white? Well, because that's what your editor likes. Other editors use black. It's simply a way of filling transparent pixels with something that won't take up a lot of data since the image editor doesn't think it'll matter one way or another. Clearly most image editors have never met Minecraft.
Now one fix is just to save these files in an editor that uses black transparency. But that's not the only way to do it. See, Minecraft is actually really weird in how it handles transparency. It likes to do a lot of rounding when there are border cases. So, for example, if you were to fill those transparent areas with 1% black then Minecraft would just disregard it. BUT, because there is some opacity, your image editor won't just white it out. Get it?
However there's an even better way to do transparent leaves. Because you now understand that it's possible to get Minecraft to save that color information you can create a separate layer where you actually color in those transparent areas with whatever you want. Effectively this will make it so that you have a complete "opaque leaves" texture that's no different from any other solid block texture in your pack. You just set those bits that you don't want to show up on fancy graphics to 1%, save the file, and the texture will seamlessly move back and forth between your transparent leaves texture and the fully-realized opaque version. No ugly black OR white lines in sight!
I hope that explains everything well enough, and best wishes on your pack!
Thanks for the descriptive answer, and yes I do think the black/white lines are ugly, but I'd rather use them so I can see the leaf textures more clearly and more differentiated from the shading under the leafs.