{ stateMap "additive_stencil"; vertexShader 2.0 "sunpre_tc0.hlsl" { } pixelShader 2.0 "sunpre_b0c0d0.hlsl" { colorMapSampler = material.colorMap; detailMapSampler = material.detailMap; detailScale = material.detailScale; } vertex.position = code.position; vertex.color[0] = code.color; vertex.texcoord[0] = code.texcoord[0]; vertex.normal = code.normal; }