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

50 lines
No EOL
1.5 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 = "0xff3f3f3f", -- (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
},
},
},
BlendLayer2 = GFX_BlendMode.ALPHA,
Layer2 =
{
MaterialLayer =
{
Enabled = TRUE,
TexAdressingModeU = GFX_TexAddressMode.MIRROR,
TexAdressingModeV = GFX_TexAddressMode.MIRROR,
DiffuseColor = "0xff61cc29",
TextureUsage = GFX_TextureUsage.ALPHA_IS_BLUE,
},
},
BlendLayer3 = GFX_BlendMode.ALPHA,
},
}