41 lines
No EOL
1.2 KiB (Stored with Git LFS)
Text
41 lines
No EOL
1.2 KiB (Stored with Git LFS)
Text
params = {
|
|
NAME= "GFXMaterialShader_Template",
|
|
GFXMaterialShader_Template=
|
|
{
|
|
materialtype= GFX_MatType.MULTI_TEXTURE, -- Don't change this
|
|
blendmode= GFX_BlendMode.ADDALPHA, -- Final Blend
|
|
Layer1=
|
|
{
|
|
MaterialLayer=
|
|
{
|
|
Enabled= TRUE, -- No effect at the moment for the layer 1 leave it to true for when it will be implemented
|
|
TexAdressingModeU= GFX_TexAddressMode.MIRROR,
|
|
TexAdressingModeV= GFX_TexAddressMode.MIRROR,
|
|
DiffuseColor = "0xffffffff", -- (ARGB)
|
|
TextureUsage = GFX_TextureUsage.ALPHA_IS_GREEN, --Texture usage : alpha channel selection / take the entire texture / or don't take the texture
|
|
UVModifiers =
|
|
{
|
|
-- All this values are the default one
|
|
{
|
|
UVModifier =
|
|
{
|
|
Rotation = 0.0,
|
|
RotationOffsetU = 0.5,
|
|
RotationOffsetV = 0.5,
|
|
AnimRotation = FALSE,
|
|
ScaleU = 2.0,
|
|
ScaleV = 2.0,
|
|
ScaleOffsetU = 0.0,
|
|
ScaleOffsetV = 0.0,
|
|
TranslationU = 0.0,
|
|
AnimTranslationU = FALSE,
|
|
TranslationV = 0.0,
|
|
AnimTranslationV = FALSE,
|
|
}
|
|
},
|
|
}
|
|
}
|
|
},
|
|
|
|
}
|
|
} |