bmap dirt_map = <wall_dirt.bmp>;material wall_108{ skin1 = dirt_map; effect " texture entSkin1; // block texture texture entSkin2; // shadow texture texture mtlSkin1; // dirt texture technique test { pass p0 { Texture[0] = <entSkin1>; // block Texture[1] = <entSkin2>; // shadow Texture[2] = <mtlSkin1>; // dirt TexCoordIndex[0] = 1; TexCoordIndex[1] = 0; TexCoordIndex[2] = 1; pixelshader = asm { ps.1.1 tex t0 tex t1 tex t2 add r1, t0, t2 mul r0, r1, t1 }; } } ";}
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de