ps_1_1 // Declare, PS v1.1 tex t0 // Look up the base texture #0 from the base (scaled) coordinates mul r0, t0, v0.a // Multiply the base texture #0 by its alpha value mul r0.rgb, r0, v0 // Multiply the alpha'd base texture by the diffuse color +mov r0.a, v1.b // Move the actual alpha value into the output register // Instructions : 2 texture, 3 arithmetic = 5