JD2022-TU1/data/World/jd5/gimmegimme/Graph/Materials/Background.msh

55 lines
No EOL
1.8 KiB (Stored with Git LFS)
Text

params =
{
NAME = "GFXMaterialShader_Template",
GFXMaterialShader_Template =
{
blendmode = GFX_BlendMode.ALPHA, -- 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,
Filtering = TRUE,
DiffuseColor = "0xffffffff", -- (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
{
UVModifier =
{
Rotation = 0.34906587,
RotationOffsetU = 0.5,
RotationOffsetV = 0.5,
AnimRotation = TRUE,
ScaleU = 1,
ScaleV = 1,
ScaleOffsetU = 0.5,
ScaleOffsetV = 0.5,
TranslationU = 0,
TranslationV = 0,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},
},
},
},
},
}