- Understanding RGBA Stencil Masks for Patterns
A pattern in The Sims 3 has four channels to hold mask information. These are Red, Green, Blue and Alpha (RGBA) where every channel can save a greyscale image. The following pattern is going to illustrate the concept of stencil masks, not the making of the pattern itself.
Breaking up this pattern in its colour layers gives us the following:
Now we sort these layers in channels and make them greyscale, so they work like alpha masks for the colours. White is fully opaque, black is invisible and greys are transparent.
Create the RGBA Stencil Mask (Photoshop)
Open a new 256x256 pixel RGB/8 document.
Change to the Channels tab and add an Alpha, since there are four channels in this pattern. You donít have to add the Alpha channel if you have only 3, 2 or 1 channel used for your pattern. Donít delete any of the RGB channels. Photoshop wonít like that.
Each of those masks is copied into the correct channel.
With Alpha visible the image will look something like this.
It looks odd but this doesnít matter as long the masks in channels are correct.
Go to Save asÖ and choose the D3D/DDS (*.DDS) file format with Alpha channel enabled. Hit Save and the DDS plug-in dialog pops up. Choose the DDS internal format 184.108.40.206 ARGB 32 bpp | unsigned from the drop down list and click Save.
The file is now ready to import into the TSR Worskhop 2.0 Pattern Tool. If you're unsure how to use it, see the TSR Workshop Pattern Tool Manual.