JD2022-TU1/data/World/ui/materials/machine_video_alien.msh

150 lines
No EOL
5.1 KiB (Stored with Git LFS)
Text

params =
{
NAME = "GFXMaterialShader_Template",
GFXMaterialShader_Template =
{
blendmode = GFX_BlendMode.ADDALPHA, -- Layer 1 is the texture diffuse1
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.BORDER,
TexAdressingModeV = GFX_TexAddressMode.BORDER,
DiffuseColor = "0xffffffff", -- (ARGB)
TextureUsage = GFX_TextureUsage.ENTIRE_TEXTURE, --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.6666667,
ScaleOffsetV = 0,
TranslationU = 0,
TranslationV = 0.01,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
{
UVModifier =
{
Rotation = 0,
AnimRotation = FALSE,
ScaleU = 0.8,
ScaleV = 0.8,
TranslationU = 0.05,
TranslationV = -0.13,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
},
},
},
BlendLayer2 = GFX_BlendMode.MUL, -- Layer 2 is the texture diffuse2
Layer2 =
{
MaterialLayer =
{
Enabled = TRUE, -- Enable/Disable this layer
TexAdressingModeU = GFX_TexAddressMode.BORDER,
TexAdressingModeV = GFX_TexAddressMode.BORDER,
DiffuseColor = "0xffffffff", -- (ARGB)
TextureUsage = GFX_TextureUsage.ALPHA_IS_GREEN,
UVModifiers =
{
{
UVModifier =
{
Rotation = 0,
AnimRotation = FALSE,
ScaleV = 0.333333343,
ScaleOffsetV = 0,
TranslationU = 0,
TranslationV = 0.6725,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
{
UVModifier =
{
Rotation = 0,
AnimRotation = FALSE,
ScaleU = 0.8,
ScaleV = 0.8,
TranslationU = 0.05,
TranslationV = 0.018,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
},
},
},
BlendLayer3 = GFX_BlendMode.MUL,
Layer3 =
{
MaterialLayer =
{
Enabled = TRUE,
TexAdressingModeU = GFX_TexAddressMode.CLAMP,
TexAdressingModeV = GFX_TexAddressMode.CLAMP,
DiffuseColor = "0xffffffff",
TextureUsage = GFX_TextureUsage.ALPHA_IS_GREEN,
UVModifiers =
{
{
UVModifier =
{
Rotation = 0,
AnimRotation = FALSE,
ScaleU = 2,
ScaleV = 1.177777,
ScaleOffsetU = 0,
TranslationU = 0,
TranslationV = 0,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
},
},
},
},
}