home *** CD-ROM | disk | FTP | other *** search
/ Game Level Design / GLDesign.bin / Software / UnrealEngine2Runtime / UE2Runtime-22262001_Demo.exe / Engine / Classes / ShadowBitmapMaterial.uc < prev    next >
Text File  |  2003-06-23  |  878b  |  47 lines

  1. class ShadowBitmapMaterial extends BitmapMaterial
  2.     native;
  3.  
  4. #exec Texture Import file=Textures\blobshadow.tga Name=BlobTexture Mips=On UCLAMPMODE=CLAMP VCLAMPMODE=CLAMP DXT=3
  5.  
  6. var const transient int    TextureInterfaces[2];
  7.  
  8. var Actor    ShadowActor;
  9. var vector    LightDirection;
  10. var float    LightDistance,
  11.             LightFOV;
  12. var bool    Dirty,
  13.             Invalid,
  14.             bBlobShadow;
  15. var float   CullDistance;
  16. var byte    ShadowDarkness;
  17.  
  18. var BitmapMaterial    BlobShadow;
  19.  
  20. cpptext
  21. {
  22.     virtual void Destroy();
  23.  
  24.     virtual FBaseTexture* GetRenderInterface();
  25.     virtual UBitmapMaterial* Get(FTime Time,UViewport* Viewport);
  26. }
  27.  
  28. //
  29. //    Default properties
  30. //
  31.  
  32. defaultproperties
  33. {
  34.     Format=TEXF_RGBA8
  35.     UClampMode=TC_Clamp
  36.     VClampMode=TC_Clamp
  37.     USize=128
  38.     VSize=128
  39.     UClamp=128
  40.     VClamp=128
  41.     UBits=7
  42.     VBits=7
  43.     Dirty=True
  44.     Invalid=False
  45.     BlobShadow=BlobTexture
  46.     ShadowDarkness=255
  47. }