Alpha Transparency Issues - Torque3D
by Mark Nosworthy · in Artist Corner · 03/20/2012 (1:16 am) · 4 replies
Hi,
I'm running into some trouble getting double sided to work with my alpha texture. I added a picture to the post to show my problem.

1. This one is pretty much how I want it to be, the only problem here is the fact that the barbwire between the poles is not double sided.
2. This one is with double sided enabled, as you can see it is somehow showing me the face in the back, rather than the faces in the front. So instead of double sided it seems to just show backsided?
3. When I turn transparent Z-Write on it just makes my object complete black? not sure why?
4. This one, again, is pretty much how I want it to be, the only problem here is the fact that the alpha is being subtracted from the wooden pole in the back. I've also noticed that this one requires "transparant Z-Write" to be turned on, otherwise it'll look exactly like #2.
So my question is, do any of you have a fix or workaround that will give me the result from #1 but with double sided faces enabled without messing up the faces on the pole.
In case it matters, I'm using DXT5 for the diffuse texture and DXT1 for the normal texture. I also tried to use DXT1 for the diffuse texture, to see if 1 bit alpha would do anything, but to no success :(
Any tips or tricks would be appreciated, thank you.
I'm running into some trouble getting double sided to work with my alpha texture. I added a picture to the post to show my problem.

1. This one is pretty much how I want it to be, the only problem here is the fact that the barbwire between the poles is not double sided.
2. This one is with double sided enabled, as you can see it is somehow showing me the face in the back, rather than the faces in the front. So instead of double sided it seems to just show backsided?
3. When I turn transparent Z-Write on it just makes my object complete black? not sure why?
4. This one, again, is pretty much how I want it to be, the only problem here is the fact that the alpha is being subtracted from the wooden pole in the back. I've also noticed that this one requires "transparant Z-Write" to be turned on, otherwise it'll look exactly like #2.
So my question is, do any of you have a fix or workaround that will give me the result from #1 but with double sided faces enabled without messing up the faces on the pole.
In case it matters, I'm using DXT5 for the diffuse texture and DXT1 for the normal texture. I also tried to use DXT1 for the diffuse texture, to see if 1 bit alpha would do anything, but to no success :(
Any tips or tricks would be appreciated, thank you.
About the author
Co Founder of EiKON Games and the artistic lead on the co-operative, tactical, first person shooter, Epoch: Incursion.
Recent Threads
#2
I'm not sure, but it maybe the Textures alpha, the way you have them set up? If you want to know how to make great textures and the different alpha channels that can be set to give you what you want in your textures I recommend buying this book from Amazon:
ISBN:978-0-240-81148-2
3D Game Textures, Second Edition
By: Luke Ahearn
Published by: Focal Press
It's a great book for using Photoshop to make great looking Textures for your Games.
I have it and it full of great information!
Hope this helps you some.
Mike
03/21/2012 (9:43 am)
Humm,I'm not sure, but it maybe the Textures alpha, the way you have them set up? If you want to know how to make great textures and the different alpha channels that can be set to give you what you want in your textures I recommend buying this book from Amazon:
ISBN:978-0-240-81148-2
3D Game Textures, Second Edition
By: Luke Ahearn
Published by: Focal Press
It's a great book for using Photoshop to make great looking Textures for your Games.
I have it and it full of great information!
Hope this helps you some.
Mike
#3
And I will buy that book, Cheers.
Mark.
03/21/2012 (2:46 pm)
Guys, Thanks for your help, much appreciated. I took your advice Britt and it works.And I will buy that book, Cheers.
Mark.
#4
03/21/2012 (4:53 pm)
Glad it worked!
Associate Britt Scott
Torque 3D
3ds Max 2010
In Max I have a cylinder and a plane object. Each object has a different material applied to it. The post is just a 512x512 jpg. The fence is a 512x512 png. I used photoshop's "Save for Web" with transparency. Exported using OpenCollada.
Imported to T3D using whatever the default settings. Then I changed the materials as seen in T3D screenshot.