AllowOpacity false VertexColors false SpecularEnable false zwriteenable false // blending disable, none, testonly, standard, additive, scaledadditive, modulate, modulate2x // eg: blending additive // or // blending blendbool, testbool, srcblend, destblend // eg: blending true false srccolor srccolor blending additive // texture stage mapid uvsource // These can be specified anywhere, such as in the state block with your texture ops if you prefer // mapid defines where the texture and/or transform source is. // These can be seperated if needed (they're seperate in code just not // defined seperately here) // // stage 4 is diffuse, map specifies transform to use only (if you want csn in diffuse for example) // stage 5 is specular, map specifies transform to use only // filter stage min mag mip texaddrmode texture 0 Specular CSN filter 0 linear linear linear wrap // We specify that we'd like normal diffuse, and that // we don't care what gets output for specular at all. texture 4 none none texture 5 none none states D3DTSS_COLOROP 0 modulate D3DTSS_COLORARG1 0 texture D3DTSS_COLORARG2 0 tfactor D3DTSS_ALPHAOP 0 selectarg1 D3DTSS_ALPHAARG1 0 texture D3DTSS_COLOROP 1 disable D3DTSS_ALPHAOP 1 disable