{ stateMap "default"; vertexShader 3.0 "lp_sun_s_tc0_nc_dtex_sm3_clothcharr1.hlsl" { } pixelShader 3.0 "lp_sun_t0c0d0s0_nc_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.texcoord[0] = code.texcoord[0]; }