home *** CD-ROM | disk | FTP | other *** search
- vector vAmbientLightColor;
-
- vertexshader vsDebug =
-
- decl
- {
- stream 0;
- float v0[3];
- }
-
- asm
- {
- vs.1.1
- m4x4 oPos, v0, c[0]
- };
-
-
- pixelshader psDebug =
-
- asm
- {
- ps.1.1
- mov r0,c0
- };
-
- technique tDebug
- {
- pass p0
- {
- VertexShader = <vsDebug>;
- PixelShader = <psDebug>;
-
- PixelShaderConstant[0] = <vAmbientLightColor>;
-
- AlphaBlendEnable = False;
- }
- }
-
-
-
-
-
-
-