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

143 lines
No EOL
4.6 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.BORDER,
TexAdressingModeV = GFX_TexAddressMode.BORDER,
DiffuseColor = "0xffffffff", -- (ARGB)
TextureUsage = GFX_TextureUsage.ALPHA_IS_BLUE, --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 = 12.2173052,
AnimRotation = TRUE,
TranslationU = 0,
TranslationV = 0,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
},
},
},
BlendLayer2 = GFX_BlendMode.ADDALPHA,
Layer2 =
{
MaterialLayer =
{
Enabled = TRUE,
TexAdressingModeU = GFX_TexAddressMode.BORDER,
TexAdressingModeV = GFX_TexAddressMode.BORDER,
DiffuseColor = "0xffffffff",
TextureUsage = GFX_TextureUsage.ALPHA_IS_BLUE,
UVModifiers =
{
{
UVModifier =
{
Rotation = -13.962635,
AnimRotation = TRUE,
TranslationU = 0,
TranslationV = 0,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
},
},
},
BlendLayer3 = GFX_BlendMode.MUL,
Layer3 =
{
MaterialLayer =
{
Enabled = TRUE,
TexAdressingModeU = GFX_TexAddressMode.BORDER,
TexAdressingModeV = GFX_TexAddressMode.BORDER,
DiffuseColor = "0xffffffff",
TextureUsage = GFX_TextureUsage.ALPHA_IS_BLUE,
UVModifiers =
{
{
UVModifier =
{
Rotation = -12.2173052,
AnimRotation = TRUE,
TranslationU = 0,
TranslationV = 0,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
},
},
},
BlendLayer4 = GFX_BlendMode.MUL,
Layer4 =
{
MaterialLayer =
{
Enabled = TRUE,
TexAdressingModeU = GFX_TexAddressMode.BORDER,
TexAdressingModeV = GFX_TexAddressMode.BORDER,
DiffuseColor = "0xffffffff",
TextureUsage = GFX_TextureUsage.ALPHA_IS_BLUE,
UVModifiers =
{
{
UVModifier =
{
Rotation = -9.686578,
AnimRotation = TRUE,
ScaleU = 0.95,
ScaleV = 0.95,
TranslationU = 0,
TranslationV = 0,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
},
},
},
},
}