Files
firestorm/Gameleap/code/mw4/Libraries/3dsmax2/include/MTL.H
T
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
Complete disaster-recovery snapshot: engine/game source, game data assets,
VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive.
Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false,
no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
2026-06-24 21:28:16 -05:00

47 lines
1.0 KiB
C++

/**********************************************************************
*<
FILE: mtl.h
DESCRIPTION: Material and texture class definitions
CREATED BY: Don Brittain
HISTORY:
*> Copyright (c) 1994, All Rights Reserved.
**********************************************************************/
#if !defined(_MTL_H_)
#define UVSOURCE_MESH 0 // use UVW coords
#define UVSOURCE_XYZ 1 // compute UVW from object XYZ
#define UVSOURCE_MESH2 2 // use UVW2 (vertexCol) coords
#define _MTL_H_
// main material class definition
class Material {
public:
DllExport Material();
DllExport ~Material();
Point3 Ka;
Point3 Kd;
Point3 Ks;
float shininess;
float shinStrength;
float opacity;
float selfIllum;
int dblSided;
int shadeLimit;
int useTex;
int faceMap;
DWORD textHandle; // texture handle
int uvwSource;
Matrix3 textTM; // texture transform
UBYTE tiling[3]; // u,v,w tiling: GW_TEX_REPEAT, GW_TEX_MIRROR, or GW_TEX_NO_TILING
};
#endif // _MTL_H_