struct Sc2StandardMaterial (
version,
name,
specialFlags,
-- 0x1 uses DepthBlend
-- 0x4 use Vertex Color
-- 0x8 use VertexAlpha
-- 0x200 uses Transparent Shadows
flags,
-- 0x1 use vertex Color
-- 0x2 use vertex Alpha
-- 0x4 unfogged
-- 0x8 twoSided
-- 0x10 unshaded
-- 0x20 No Shadows Cast
-- 0x40 No HitTest
-- 0x80 No Shadows Received
-- 0x100 Z Fill Pass
-- 0x200 useTerrainHDR
-- 0x800 splatUVfix
-- 0x1000 softBlending
-- 0x4000 Transparent Shadows
-- 0x8000 Decal Lighting
-- 0x10000 Transparency affects depth based effects
-- 0x20000 Enable local lights on transparencies
-- 0x40000 Disable Soft (Depth Blend)
-- 0x80000 DoubleLambert
-- 0x100000 Hair Layer sorting
-- 0x200000 Accepts Splats
-- 0x400000 Decal required on low end
-- 0x800000 Emissive required on low end
-- 0x1000000 Specular required on low end
-- 0x2000000 Accepts Splats Only
-- 0x4000000 is background object
-- 0x10000000 Z-Fill required on low end
-- 0x20000000 Exclude from highlighting
-- 0x40000000 Clamp output
-- 0x80000000 visible
blendMode,
-- 0 Opaque
-- 1 Blend
-- 2 Additive
-- 3 ? - probably AddAlpha
-- 4 Mod
-- 5 Mod2x
priority,
unknown1,
specularity,
depthBlend,
alphaTestThreshold,
unknown3,
unknown4,
unknown5,
specMult,
emisMult,
diffuseLayer,
decalLayer,
specularLayer,
glossLayer,
emissiveLayer,
emissive2Layer,
evioLayer,
evioMaskLayer,
alphaMaskLayer,
alphaMask2Layer,
normalLayer,
heightLayer,
lightMapLayer,
ambientOcclusionLayer,
unknown8,
layerBlendType,
emisBlendType,
emisMode,
specType,
unknown9AnimationRef,
unknown10AnimationRef
)