JD2022-TU1/data/World/_COMMON/MatShader/PleoFullScreenCropped.msh

53 lines
No EOL
1.6 KiB (Stored with Git LFS)
Text

params =
{
NAME = "GFXMaterialShader_Template",
GFXMaterialShader_Template =
{
blendmode = GFX_BlendMode.COPY, -- Layer 1 is the texture diffuse1
-- 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.CLAMP,
TexAdressingModeV = GFX_TexAddressMode.CLAMP,
DiffuseColor = "0xffffffff",
TextureUsage = GFX_TextureUsage.ENTIRE_TEXTURE,
UVModifiers =
{
-- 2 UV MOdifier used hor Scale and offset
{
UVModifier =
{
Rotation = 0,
AnimRotation = FALSE,
ScaleV = 0.913,
TranslationU = 0,
TranslationV = 0,
AnimTranslationU = FALSE,
AnimTranslationV = FALSE,
},
},-- All this values are the default one
},
},
}, -- Second layer necessary for scale and offset system
},
}