Decals are textures which can be mapped to environment objects & terrain in Edit Mode. Their main use is adding detail to the scenary; bloodsplats, shadows and footprints use them too.
To create a custom decal, the following files are needed:
- XML File - What you select when loading the decal
<?xml version="2.0" ?> <Type>generic</Type> <DecalObject> <ColorMap>Data/Textures/Decals/Rocky/black_dust_c.tga</ColorMap> <NormalMap>Data/Textures/diffusebump.tga</NormalMap> <ShaderName>decal</ShaderName> </DecalObject>
Path to the texture file.
Path to the Normal map image file.
Can be created with any image manipulation program. Has to be quadratic. TODO: is this True? The following file formats are supported:
- *.jpeg TODO: is this True?
TODO: add the rest.
Normal Map Image File
Can be created with any image manipulation program. Must have the same dimensions as the texture file. TODO: is this True?