Page 2/5 Clothing Textures Page: 3/5 Page 4/5

  • Each texture has its own unique color palette that defines the properties of each pixel.
  • All character textures must be an 8bit (256 color) BMP.
  • The colors in the palette need to be arranged in a very specific way, which is detailed below.
  • In the Wardrobe editor (in-game), you can dynamically change the color of your clothing textures. The parts of the texture that can be changed are defined by the palette slots that are used for those colors.
  • Sample textures and palettes have been provided to help make custom texture creation as easy as possible. You can find these samples in the Resources/Samples area of this tutorial.
The Playboy game engine dynamically combines the nude skin texture with the clothing texture to produce a unique hybrid texture for each character. This process, along with the dynamic color change functionality, requires that a texture's palette be set up in a very organized way. Here is a breakdown of a palette and an explanation for each areas functionality.
  • 0-63 Color change range: Any pixel that uses a color from this range will be affected by the dynamic color changing functionality of the Wardrobe Editor (in-game) These palette slots may contain Hue and Saturation data, but the engine will automatically strip out that data, leaving only the Brightness data.
  • 64-127 Non-changing outfit colors: Any colors may be used. These colors won’t be changed by the engine.
  • 128-254 Skin tone range: The game engine will automatically strip any color from these slots when it combines the skin and clothing textures. The engine will then fill the empty slots with the colors needed for any skin that was not covered by the clothing.
  • 255 Transparent color: The last color in the palette (no matter what color, hue, or brightness it is) is the transparent color. The game engine uses this color to determine where the skin should show through the clothing texture. This color does not actually make a part of the texture or model transparent or translucent in the game.

-Palette tips-
  • Some graphics applications display the palette upside down compared to the sample in the above chart. Don't worry, the texture will still look fine in the game.
  • Some programs, such as Promotion, may re-map your palette when you save and not tell you that it did so. This can happen when you have two or more slots in the palette with the exact same color in them.
  • I like to use a color range from white to black for my color-change range, but I leave an imperceptible amount of hue and saturation data in the range (the game engine will strip this color data out anyway) so I can still have pure grays in the non-changing range without having to worry about them getting re-mapped accidentally.

Page 2/5 >>Clothing Textures Page: 3/5<< Page 4/5

Resources HOME Tutorials
Tools Clothing Textures
Samples Shoe textures
Terminology Accessory textures
Tips


Groove Arush Playboy Cyberlore

This Tutorial and its contents are Copyright © 2004 Cyberlore Studios, inc. No part of this tutorial or the art displayed within it may be sold in any way.