Jump to content
Sign in to follow this  
USSRsniper

BinPbo and dt textures

Recommended Posts

When I binirize any addon, channels in detail maps are lost, making the detail texture pure white? Any ideas?

Share this post


Link to post
Share on other sites
Guest RKSL-Rock

I've got the same problem

Share this post


Link to post
Share on other sites
Guest RKSL-Rock
Only alpha channel is used in detail texures.

Thanks for that. That really made a difference.:bounce3:

Share this post


Link to post
Share on other sites
When I binirize any addon, channels in detail maps are lost, making the detail texture pure white? Any ideas?

As with A1 always look at TexConvert.cfg. This is the 'rules' file that pal2pace.exe and texview2.exe utilizes when it is saving out a .paa file.

As Armored_Sheep already pointed out the _detail.* only uses the 'alpha' channel. If you look in the TexConvert.cfg file you'll note...

class detail {
 name = "*_detail.*";
 format = "DXT1";
 enableDXT = 1;
 // only alpha channel is used in detail texures
 channelSwizzleR = "A";
 channelSwizzleG = "A";
 channelSwizzleB = "A";
 channelSwizzleA = "1";
 dynRange = 0;
 mipmapFilter = FadeOut;
};
class detail_short: detail {
 name = "*_dt.*";
};

The above tells pal2pace/texview2 to 'swizzle' the R,G,B channels for files called '*_detail.*' by copying the 'alpha' channel to the RGB channels and then setting the alpha channel to 1. Then, later in the file 'detail_short' is defined for files matching '*_dt.*' which inherits the processing details of 'class detail'. Simple huh?! RTFM FTW!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×