home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / bin / DXUtils / mview.exe / RCDATA / 1040 < prev    next >
Encoding:
Text File  |  2001-10-25  |  518 b   |  28 lines

  1. //
  2. // Standard texture effect
  3. // Copyright (c) 2000 Microsoft Corporation. All rights reserved.
  4. //
  5.  
  6. VECTOR vClr;
  7.  
  8. //
  9. // Technique 0 - One pass
  10. //
  11.  
  12. technique T0
  13. {
  14.  
  15.     pass P0
  16.     {        
  17.         Lighting = TRUE;
  18.         ColorVertex = FALSE;
  19.         MaterialEmissive = <vClr>;
  20.         MaterialAmbient = (0.0f, 0.0f, 0.0f, 0.0f);
  21.         MaterialSpecular = (0.0f, 0.0f, 0.0f, 0.0f);
  22.         MaterialDiffuse = (0.0f, 0.0f, 0.0f, 0.0f);
  23.  
  24.         // Stage1
  25.         ColorOp[0] = Disable;
  26.         AlphaOp[0] = Disable;
  27.     }
  28. }