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

164 lines
No EOL
5.4 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.CLAMP,
TexAdressingModeV = GFX_TexAddressMode.CLAMP,
Filtering = FALSE,
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,
ScaleU = 1.04,
ScaleV = 0.95,
TranslationU = 0,
TranslationV = 0,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
},
},
},
BlendLayer2 = GFX_BlendMode.MUL,
Layer2 =
{
MaterialLayer =
{
Enabled = TRUE,
TexAdressingModeU = GFX_TexAddressMode.MIRROR,
TexAdressingModeV = GFX_TexAddressMode.MIRROR,
DiffuseColor = "0xffffffff",
TextureUsage = GFX_TextureUsage.ALPHA_IS_GREEN,
UVModifiers =
{
{
UVModifier =
{
Rotation = 1.74532938,
AnimRotation = TRUE,
ScaleU = 0.1,
TranslationU = 2,
TranslationV = 0,
AnimTranslationU = TRUE,
AnimTranslationV = FALSE,
},
},
},
},
},
BlendLayer3 = GFX_BlendMode.ADDALPHA,
Layer3 =
{
MaterialLayer =
{
Enabled = TRUE,
TexAdressingModeU = GFX_TexAddressMode.MIRROR,
TexAdressingModeV = GFX_TexAddressMode.MIRROR,
Filtering = FALSE,
DiffuseColor = "0x1effffff",
TextureUsage = GFX_TextureUsage.ALPHA_IS_RED,
UVModifiers =
{
{
UVModifier =
{
Rotation = 0,
AnimRotation = FALSE,
ScaleU = 0.3,
ScaleV = 2,
TranslationU = 0,
TranslationV = 0,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
{
UVModifier =
{
Rotation = 0,
AnimRotation = FALSE,
TranslationU = 5,
TranslationV = 5,
AnimTranslationU = TRUE,
AnimTranslationV = TRUE,
},
},
},
},
},
BlendLayer4 = GFX_BlendMode.MUL,
Layer4 =
{
MaterialLayer =
{
Enabled = FALSE,
TexAdressingModeU = GFX_TexAddressMode.MIRROR,
TexAdressingModeV = GFX_TexAddressMode.MIRROR,
Filtering = FALSE,
DiffuseColor = "0xffffffff",
TextureUsage = GFX_TextureUsage.ALPHA_IS_RED,
UVModifiers =
{
{
UVModifier =
{
Rotation = 0,
AnimRotation = FALSE,
ScaleU = 1.04,
ScaleV = 0.9,
TranslationU = 0,
TranslationV = 0,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
},
},
},
},
}