|
7 registered members (fairtrader, Quad, miwok, Martin_HH, AndrewAMD, alibaba, dpn),
581
guests, and 0
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Transparent Models ??
[Re: obvilion]
#281682
07/28/09 06:34
07/28/09 06:34
|
Joined: Apr 2008
Posts: 235 TEXCOORD3
Foxfire
Member
|
Member
Joined: Apr 2008
Posts: 235
TEXCOORD3
|
glad I read this post cause I actually know the answer for once =D
I'm sure the models you imported have textures with an alpha channel (ie 32bit tga). The engine automatically treats these as being transparent and sorts the models differentley. If you use a simple shader or change the model's textures to 24bit there should be no problem. If your using a shader, make sure it has depth test and writing enabled as well as alphatest enabled.
-mike-
http://www.groundtacticsgame.com/Alienware m17x R Custom laptop specs: Intel Core 2 Extreme Quad CPU Q9300 2x Nvidia 280GTX 2GB vram 6GB ddr3 memory@ 1333Mhz 512GB SSD 1200p 17' screen runs Crysis Warhead on max settings at 1200p at 90 fps
|
|
|
Re: Transparent Models ??
[Re: Foxfire]
#281702
07/28/09 08:11
07/28/09 08:11
|
Joined: Jul 2009
Posts: 3
obvilion
OP
Guest
|
OP
Guest
Joined: Jul 2009
Posts: 3
|
hey....thanks for this....worked !! but one more problem....the player models are hollow....??? e.g when i go to the right side of the model.....i can see his left hand through his torso and vice-versa !! weird.....any ideas ??
|
|
|
Re: Transparent Models ??
[Re: MrGuest]
#282056
07/30/09 06:20
07/30/09 06:20
|
Joined: Apr 2009
Posts: 248 Philippines
seecah
Member
|
Member
Joined: Apr 2009
Posts: 248
Philippines
|
@Foxfire,
I've got the same problem too, thus I've change my texture into 24 bits.. Sad to say that it doesn't support transparency therefore the alpha channel will be visible in my level.. I've tried to check OVERLAY flag just to test even though I know that it'll now work, but no luck.. Any idea how can I make the alpha channel invisible???
Can't is not an option™
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|