| Microsoft DirectX 8.1 (C++) |
This example is from exercise 7.
PixelShader =
asm
{
ps.1.1
tex t0 //get texture sample from stage 0
tex t1 //get texture sample from stage 1
mul_x2 r0,t1,t0; //blend them togetherin an interesting way
};