{ stateMap "premulalpha"; vertexShader 3.0 "lp_hsm_omni_s_tc0_dtex_sm3_clothcharr1.hlsl" { } pixelShader 3.0 "lp_hsm_spot_b0c0d0s0_sm3_clothcharr1.hlsl" { colorMapSampler = material.colorMap; detailMapSampler = material.detailMap; detailScale = material.detailScale; specularMapSampler = material.specularMap; envMapParms = material.envMapParms; clothcharrMaskMapScale = material.clothcharrMaskMapScale; clothcharrMaskMap_Sampler = material.clothcharrMaskMap; clothcharrColorMapScale = material.clothcharrColorMapScale; clothcharrEmberColorAndBrightness = material.clothcharrEmberColorAndBrightness; clothcharrColorMap_Sampler = material.clothcharrColorMap; clothcharrNormalMap_Sampler = material.clothcharrNormalMap; } vertex.position = code.position; vertex.normal = code.normal; vertex.color[0] = code.color; vertex.texcoord[0] = code.texcoord[0]; }