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

133 lines
No EOL
4.3 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 = "0xffae08d7", -- (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
},
},
},
BlendLayer2 = GFX_BlendMode.ALPHA,
Layer2 =
{
MaterialLayer =
{
Enabled = TRUE,
TexAdressingModeU = GFX_TexAddressMode.CLAMP,
TexAdressingModeV = GFX_TexAddressMode.CLAMP,
DiffuseColor = "0xff5c31c3",
TextureUsage = GFX_TextureUsage.ALPHA_IS_GREEN,
UVModifiers =
{
{
UVModifier =
{
Rotation = 3.752458,
AnimRotation = FALSE,
TranslationU = 0,
TranslationV = 0,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
},
},
},
BlendLayer3 = GFX_BlendMode.ALPHA,
Layer3 =
{
MaterialLayer =
{
Enabled = TRUE,
TexAdressingModeU = GFX_TexAddressMode.BORDER,
TexAdressingModeV = GFX_TexAddressMode.WRAP,
DiffuseColor = "0x89200051",
TextureUsage = GFX_TextureUsage.ALPHA_IS_BLUE,
UVModifiers =
{
{
UVModifier =
{
Rotation = 0,
AnimRotation = FALSE,
ScaleU = 0.7,
ScaleV = 0.7,
TranslationU = 0,
TranslationV = 0,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
},
},
},
BlendLayer4 = GFX_BlendMode.ALPHA,
Layer4 =
{
MaterialLayer =
{
Enabled = TRUE,
TexAdressingModeU = GFX_TexAddressMode.BORDER,
TexAdressingModeV = GFX_TexAddressMode.WRAP,
DiffuseColor = "0xffffffff",
TextureUsage = GFX_TextureUsage.ENTIRE_TEXTURE,
UVModifiers =
{
{
UVModifier =
{
Rotation = 0,
AnimRotation = FALSE,
ScaleU = 1.7,
ScaleV = 0.48,
ScaleOffsetU = 0,
TranslationU = 0.35,
TranslationV = -0.008,
AnimTranslationU = FALSE,
AnimTranslationV = TRUE,
},
},
},
},
},
},
}