145 lines
No EOL
4.7 KiB (Stored with Git LFS)
Text
145 lines
No EOL
4.7 KiB (Stored with Git LFS)
Text
params =
|
|
{
|
|
NAME = "GFXMaterialShader_Template",
|
|
GFXMaterialShader_Template =
|
|
{
|
|
blendmode = GFX_BlendMode.ADDALPHA, -- Final Blend
|
|
|
|
materialtype = GFX_MatType.MULTI_TEXTURE, -- Don't change this
|
|
|
|
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.WRAP,
|
|
TexAdressingModeV = GFX_TexAddressMode.WRAP,
|
|
DiffuseColor = "0x80ffffff", -- (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,
|
|
AnimRotation = FALSE,
|
|
ScaleV = 0.5,
|
|
TranslationU = 0,
|
|
TranslationV = 0.7,
|
|
AnimTranslationU = TRUE,
|
|
AnimTranslationV = TRUE,
|
|
|
|
},
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
BlendLayer2 = GFX_BlendMode.ADDALPHA,
|
|
Layer2 =
|
|
{
|
|
MaterialLayer =
|
|
{
|
|
Enabled = TRUE,
|
|
TexAdressingModeU = GFX_TexAddressMode.MIRROR,
|
|
TexAdressingModeV = GFX_TexAddressMode.WRAP,
|
|
DiffuseColor = "0x80ffffff",
|
|
TextureUsage = GFX_TextureUsage.ALPHA_IS_GREEN,
|
|
UVModifiers =
|
|
{
|
|
|
|
{
|
|
UVModifier =
|
|
{
|
|
Rotation = 0,
|
|
AnimRotation = FALSE,
|
|
ScaleV = 0.5,
|
|
TranslationU = 0,
|
|
TranslationV = 1,
|
|
AnimTranslationU = TRUE,
|
|
AnimTranslationV = TRUE,
|
|
|
|
},
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
BlendLayer3 = GFX_BlendMode.ADDALPHA,
|
|
Layer3 =
|
|
{
|
|
MaterialLayer =
|
|
{
|
|
Enabled = TRUE,
|
|
TexAdressingModeU = GFX_TexAddressMode.MIRROR,
|
|
TexAdressingModeV = GFX_TexAddressMode.WRAP,
|
|
DiffuseColor = "0x80ffffff",
|
|
TextureUsage = GFX_TextureUsage.ALPHA_IS_BLUE,
|
|
UVModifiers =
|
|
{
|
|
|
|
{
|
|
UVModifier =
|
|
{
|
|
Rotation = 0,
|
|
AnimRotation = TRUE,
|
|
ScaleV = 0.8,
|
|
TranslationU = 0,
|
|
TranslationV = -0.3,
|
|
AnimTranslationU = FALSE,
|
|
AnimTranslationV = TRUE,
|
|
|
|
},
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
BlendLayer4 = GFX_BlendMode.MUL,
|
|
Layer4 =
|
|
{
|
|
MaterialLayer =
|
|
{
|
|
Enabled = TRUE,
|
|
TexAdressingModeU = GFX_TexAddressMode.MIRROR,
|
|
TexAdressingModeV = GFX_TexAddressMode.BORDER,
|
|
DiffuseColor = "0xffffffff",
|
|
TextureUsage = GFX_TextureUsage.ALPHA_IS_GREEN,
|
|
UVModifiers =
|
|
{
|
|
|
|
{
|
|
UVModifier =
|
|
{
|
|
Rotation = 0,
|
|
AnimRotation = FALSE,
|
|
ScaleV = 0.6,
|
|
TranslationU = 0,
|
|
TranslationV = 0,
|
|
AnimTranslationU = TRUE,
|
|
AnimTranslationV = FALSE,
|
|
|
|
},
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
} |