// Sky NO BLEND VertexColors true SpecularEnable false lightenable false fogenable false zenable false AllowOpacity 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 none // 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 diffuse uv filter 0 aniso linear linear wrap texture 1 custom1 uv filter 1 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 diffuse texture 5 none none states D3DTSS_COLOROP 0 selectarg1 D3DTSS_COLORARG1 0 texture D3DTSS_ALPHAOP 0 selectarg1 D3DTSS_ALPHAARG1 0 texture D3DTSS_COLOROP 1 BLENDCURRENTALPHA D3DTSS_COLORARG1 1 texture D3DTSS_COLORARG2 1 current D3DTSS_ALPHAOP 1 selectarg1 D3DTSS_ALPHAARG1 1 current D3DTSS_COLOROP 2 disable D3DTSS_ALPHAOP 2 disable