Square bushes?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
authraw
1st Lieutenant
1st Lieutenant
Posts: 445
Joined: Mon Jun 26, 2006 3:45 pm

Square bushes?

Post by authraw »

Err... what causes this, and how do I fix it?

Image
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Square bushes?

Post by ryukaji »

I'm not sure but my guess is maybe a texture problem?
User avatar
authraw
1st Lieutenant
1st Lieutenant
Posts: 445
Joined: Mon Jun 26, 2006 3:45 pm

Re: Square bushes?

Post by authraw »

ryukaji wrote:I'm not sure but my guess is maybe a texture problem?
Yeah, I figured it had to do with the textures. That's about all I know, though. How does the game decide which colours to make transparent? The odd thing is that some of the bushes attached to that same tree model are rendered correctly.
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: Square bushes?

Post by Frisbeetarian »

Could it just be the quality of your game settings?
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Square bushes?

Post by ryukaji »

are the bushes that aren't working right the same one? I think (im not sure) it should look like this in the texture:
Image
this is just a sample picture i found but i think the checkered squares mean that the background is transparent
so check your texture file
Penguin
Jedi Admin
Jedi Admin
Posts: 2541
Joined: Sun Mar 05, 2006 12:00 am
Location: Australia

Re: Square bushes?

Post by Penguin »

Transparency is defined by the Alpha Channel.
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Re: Square bushes?

Post by trainmaster611 »

Crap! I actually knew that! I know there are two layers for these images. One layer is just an alpha and the other is the actual skin. Check the skin and see if there is something wrong with the layer holding the alpha channel.

Btw, skin layer goes on top of alpha layer.
t551
General
General
Posts: 791
Joined: Sat Jul 16, 2005 3:23 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Square bushes?

Post by t551 »

They're not different layers, they're different channels, which are not the same thing. A channel is an actual set of values for pixels.

255 255 255 is a three-channel pixel.
255 255 255 255 is a four-channel pixel, the fourth being the alpha channel. You can have more than four channels, they just proceed in order: beta, gamma, and so on.
Post Reply