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

130 lines
No EOL
4.2 KiB (Stored with Git LFS)
Text

params =
{
NAME = "GFXMaterialShader_Template",
GFXMaterialShader_Template =
{
blendmode = GFX_BlendMode.ALPHA, -- Final Blend
UseMultiChannel = FALSE,
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.MIRROR,
TexAdressingModeV = GFX_TexAddressMode.MIRROR,
DiffuseColor = "0xffff00a1", -- (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,
TranslationU = 0,
TranslationV = 0,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
},
},
},
BlendLayer2 = GFX_BlendMode.ALPHA,
Layer2 =
{
MaterialLayer =
{
Enabled = TRUE,
TexAdressingModeU = GFX_TexAddressMode.MIRROR,
TexAdressingModeV = GFX_TexAddressMode.MIRROR,
DiffuseColor = "0xffffbf00",
TextureUsage = GFX_TextureUsage.ALPHA_IS_ALPHA,
UVModifiers =
{
{
UVModifier =
{
Rotation = 0.7853982,
RotationOffsetU = 0.6,
RotationOffsetV = 0.4,
AnimRotation = FALSE,
ScaleU = 0.5,
ScaleV = 0.75,
TranslationU = 0.2,
TranslationV = 0.2,
AnimTranslationU = TRUE,
AnimTranslationV = TRUE,
},
},
},
},
},
BlendLayer3 = GFX_BlendMode.ALPHA,
Layer3 =
{
MaterialLayer =
{
Enabled = TRUE,
TexAdressingModeU = GFX_TexAddressMode.MIRROR,
TexAdressingModeV = GFX_TexAddressMode.MIRROR,
DiffuseColor = "0xffff00a1",
TextureUsage = GFX_TextureUsage.ALPHA_IS_GREEN,
UVModifiers =
{
{
UVModifier =
{
Rotation = 5.49778748,
AnimRotation = FALSE,
ScaleU = 0.8,
TranslationU = 0.1,
TranslationV = 0.1,
AnimTranslationU = TRUE,
AnimTranslationV = FALSE,
},
},
},
},
},
BlendLayer4 = GFX_BlendMode.MUL,
Layer4 =
{
MaterialLayer =
{
Enabled = TRUE,
TexAdressingModeU = GFX_TexAddressMode.MIRROR,
TexAdressingModeV = GFX_TexAddressMode.MIRROR,
DiffuseColor = "0xffffffff",
TextureUsage = GFX_TextureUsage.ALPHA_IS_GREEN,
},
},
},
}