Need some help with stained glass texture

This sub-forum is dedicated to add-ons and texture packs for Better Than Wolves.
Post Reply
User avatar
jorgebonafe
Posts: 2714
Joined: Mon Sep 19, 2011 3:22 am
Location: Brasil

Need some help with stained glass texture

Post by jorgebonafe »

I'm trying to improve the textures for the Deco stained glass on the Sphax pack, and I ran into some problems.

My issue is that, although the blocks are fine when placed on the world (as you can see on the screenshot, the colors are ok, and you can see the water behind the blocks) they show as transparent blocks on my hand and on the inventory:
Spoiler
Show
Image
Does anyone know what the problem can be?

These are the configuration files I made. Tiles 0 to 46 are the frames, the others are the glass.
Spoiler
Show
glass_1.properties:

matchBlocks=3003
metadata=1
tiles=0-46
method=ctm

glass_1a.properties:

matchBlocks=3003
metadata=1
tiles=0-46
renderPass=2
method=ctm

glass_1b.properties:

matchBlocks=3003
metadata=1
tiles=59-105
renderPass=3
method=ctm
And my ctm folder:

https://www.dropbox.com/s/6tocuxmsyuoke2r/ctm.rar?dl=1
Better Than Wolves was borne of anal sex. True Story.
User avatar
ion
Posts: 550
Joined: Sat Jan 05, 2013 2:56 pm

Re: Need some help with stained glass texture

Post by ion »

did you check better glass option in mcpatcher.
know problem with double transparency blocks in minecraft
User avatar
jorgebonafe
Posts: 2714
Joined: Mon Sep 19, 2011 3:22 am
Location: Brasil

Re: Need some help with stained glass texture

Post by jorgebonafe »

Yep, I did... I'm thinking this is a bug and can't really be fixed, specially since it's in MC 1.5.2. If that's the case I make the better glass blocks in world but leave them buggy in inventory, or leave the textures as it is now.

Another option would be to make a specific texture just for the inventory. But the only way to do that would be to change the code on the Deco addon.
Better Than Wolves was borne of anal sex. True Story.
User avatar
ko_teknik
Posts: 268
Joined: Thu Dec 26, 2013 4:16 am

Re: Need some help with stained glass texture

Post by ko_teknik »

i'm not sure but i think déco addon don't support tranparency item's !
When i was making R3D Craft i get this bug too...
User avatar
TheGatesofLogic
Posts: 511
Joined: Tue Nov 06, 2012 5:35 pm

Re: Need some help with stained glass texture

Post by TheGatesofLogic »

How exactly did you manage to get layered alphas to work??? Regardless, I can’t recall any example of an item or a block in a toolbar with an alpha. Spawned water blocks for instance are non-transparent, same with portals iirc. I’d suspect it’s another rendering limitation.
Two feet standing on a principle
Two hands longing for each others warmth
Cold smoke seeping out of colder throats
Darkness falling, leaves nowhere to go
User avatar
jorgebonafe
Posts: 2714
Joined: Mon Sep 19, 2011 3:22 am
Location: Brasil

Re: Need some help with stained glass texture

Post by jorgebonafe »

TheGatesofLogic wrote:How exactly did you manage to get layered alphas to work???
Well, you gotta check Better Glass on mcpatcher, and then do that trick with the properties files on ctm. Basically you have a set of images for the frame, and a second set for the translucent parts. You can check the file I linked too see exactly how to set it up.
TheGatesofLogic wrote:Regardless, I can’t recall any example of an item or a block in a toolbar with an alpha. Spawned water blocks for instance are non-transparent, same with portals iirc. I’d suspect it’s another rendering limitation.
That sounds about right... I guess there really is no workaround short of changing how Deco shows the inventory item.
Better Than Wolves was borne of anal sex. True Story.
Post Reply