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

217 lines
No EOL
7.5 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.MIRROR,
TexAdressingModeV = GFX_TexAddressMode.MIRROR,
DiffuseColor = "0xffcb00ff", -- (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 = 2,
ScaleV = 2,
ScaleOffsetU = 0,
ScaleOffsetV = 0,
TranslationU = 0,
TranslationV = 0,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
{
UVModifier =
{
Rotation = -0.34906587,
RotationOffsetU = 1,
RotationOffsetV = 1,
AnimRotation = TRUE,
TranslationU = 0,
TranslationV = 0,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
{
UVModifier =
{
Rotation = 0,
RotationOffsetU = 1,
RotationOffsetV = 1,
AnimRotation = TRUE,
TranslationU = 0,
TranslationV = 0,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
},
},
},
BlendLayer2 = GFX_BlendMode.ADDALPHA,
Layer2 =
{
MaterialLayer =
{
Enabled = TRUE,
TexAdressingModeU = GFX_TexAddressMode.MIRROR,
TexAdressingModeV = GFX_TexAddressMode.MIRROR,
DiffuseColor = "0xff00ff",
TextureUsage = GFX_TextureUsage.ALPHA_IS_RED,
UVModifiers =
{
{
UVModifier =
{
Rotation = 0,
AnimRotation = FALSE,
ScaleU = 2,
ScaleV = 2,
ScaleOffsetU = 0,
ScaleOffsetV = 0,
TranslationU = 0,
TranslationV = 0,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
{
UVModifier =
{
Rotation = 0,
RotationOffsetU = 1,
RotationOffsetV = 1,
AnimRotation = TRUE,
TranslationU = 0,
TranslationV = 0,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
},
},
},
BlendLayer3 = GFX_BlendMode.ADDALPHA,
Layer3 =
{
MaterialLayer =
{
Enabled = TRUE,
TexAdressingModeU = GFX_TexAddressMode.MIRROR,
TexAdressingModeV = GFX_TexAddressMode.MIRROR,
DiffuseColor = "0xbb00ff",
TextureUsage = GFX_TextureUsage.ALPHA_IS_BLUE,
UVModifiers =
{
{
UVModifier =
{
Rotation = 0,
AnimRotation = FALSE,
ScaleU = 2,
ScaleV = 2,
ScaleOffsetU = 0,
ScaleOffsetV = 0,
TranslationU = 0,
TranslationV = 0,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
{
UVModifier =
{
Rotation = -5.235988,
RotationOffsetU = 1,
RotationOffsetV = 1,
AnimRotation = TRUE,
TranslationU = 0,
TranslationV = 0,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
},
},
},
BlendLayer4 = GFX_BlendMode.ADDALPHA,
Layer4 =
{
MaterialLayer =
{
Enabled = TRUE,
TexAdressingModeU = GFX_TexAddressMode.MIRROR,
TexAdressingModeV = GFX_TexAddressMode.MIRROR,
DiffuseColor = "0xff00e1",
TextureUsage = GFX_TextureUsage.ALPHA_IS_RED,
UVModifiers =
{
{
UVModifier =
{
Rotation = 0,
AnimRotation = FALSE,
ScaleU = 2,
ScaleV = 2,
ScaleOffsetU = 0,
ScaleOffsetV = 0,
TranslationU = 0,
TranslationV = 0,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
},
},
},
},
}