26.01.2008, 08:31
Small tutorial for alpha channels in Photoshop.
Hope that this help a bit. Also remember that we can set alpha channels in game in .mat files.
As far as I know red affect alpha channels (what simulation sees as transparent)
[ClassInfo]
ClassName TMaterial
[General]
tfDoubleSide 0
tfShouldSort 0
tfDropShadow 0
tfGameTimer 1
[LightParams]
Ambient 1.0
Diffuse 1.0
Specular 0.4
SpecularPow 4
Shine 0.0
[Layer0]
TextureName skin1o.tga
PaletteName
Frame 0.0
VisibleDistanceNear 0.0
VisibleDistanceFar 10000.0
TextureCoordScale 0.0 0.0 1.0 1.0
ColorScale 1.0 1.0 1.0 1.0
AlphaTestVal 0.5 // of [0.1, 0.5, 0.9]
tfWrapX 1
tfWrapY 1
tfMinLinear 1
tfMagLinear 1
tfMipMap 0
tfBlend 0
tfBlendAdd 0
tfTestA 0
tfTestZ 1
tfUpDateClear 0
tfModulate 1
tfNoTexture 0
tfAnimatePalette 0
tfAnimateSkippedFrames 0
tfNoWriteZ 0
tfDepthOffset 0
tfTranspBorder 0
tfTestZEqual 0
Tutorial:
And if you want to select more then one separated areas on one file, choose “magic wand” and hold “shift” when select areas.
Hope that this help a bit. Also remember that we can set alpha channels in game in .mat files.
As far as I know red affect alpha channels (what simulation sees as transparent)
[ClassInfo]
ClassName TMaterial
[General]
tfDoubleSide 0
tfShouldSort 0
tfDropShadow 0
tfGameTimer 1
[LightParams]
Ambient 1.0
Diffuse 1.0
Specular 0.4
SpecularPow 4
Shine 0.0
[Layer0]
TextureName skin1o.tga
PaletteName
Frame 0.0
VisibleDistanceNear 0.0
VisibleDistanceFar 10000.0
TextureCoordScale 0.0 0.0 1.0 1.0
ColorScale 1.0 1.0 1.0 1.0
AlphaTestVal 0.5 // of [0.1, 0.5, 0.9]
tfWrapX 1
tfWrapY 1
tfMinLinear 1
tfMagLinear 1
tfMipMap 0
tfBlend 0
tfBlendAdd 0
tfTestA 0
tfTestZ 1
tfUpDateClear 0
tfModulate 1
tfNoTexture 0
tfAnimatePalette 0
tfAnimateSkippedFrames 0
tfNoWriteZ 0
tfDepthOffset 0
tfTranspBorder 0
tfTestZEqual 0
Tutorial:
And if you want to select more then one separated areas on one file, choose “magic wand” and hold “shift” when select areas.