2023-12-01 22:51:34 +01:00
|
|
|
const uint FLW_FOG_LINEAR = 0u;
|
|
|
|
const uint FLW_FOG_LINEAR_FADE = 1u;
|
|
|
|
const uint FLW_FOG_NONE = 2u;
|
2023-12-02 08:44:04 +01:00
|
|
|
const uint FLW_FOG_CUSTOM = 3u;
|
2023-12-01 22:51:34 +01:00
|
|
|
|
|
|
|
const uint FLW_TRANSPARENCY_OPAQUE = 0u;
|
|
|
|
const uint FLW_TRANSPARENCY_ADDITIVE = 1u;
|
|
|
|
const uint FLW_TRANSPARENCY_LIGHTING = 2u;
|
|
|
|
const uint FLW_TRANSPARENCY_GLINT = 3u;
|
|
|
|
const uint FLW_TRANSPARENCY_CRUMBLING = 4u;
|
|
|
|
const uint FLW_TRANSPARENCY_TRANSLUCENT = 5u;
|
|
|
|
|
|
|
|
const uint FLW_CUTOUT_OFF = 0u;
|
|
|
|
const uint FLW_CUTOUT_EPSILON = 1u;
|
|
|
|
const uint FLW_CUTOUT_HALF = 2u;
|
2023-12-02 08:44:04 +01:00
|
|
|
const uint FLW_CUTOUT_CUSTOM = 3u;
|
2023-12-01 22:51:34 +01:00
|
|
|
|
|
|
|
const uint FLW_WRITE_MASK_BOTH = 0u;
|
|
|
|
const uint FLW_WRITE_MASK_COLOR = 1u;
|
|
|
|
const uint FLW_WRITE_MASK_DEPTH = 2u;
|
|
|
|
|
|
|
|
struct FlwMaterial {
|
|
|
|
bool diffuse;
|
|
|
|
bool lighting;
|
|
|
|
bool blur;
|
|
|
|
bool backfaceCull;
|
|
|
|
bool polygonOffset;
|
|
|
|
bool mip;
|
|
|
|
|
|
|
|
uint fog;
|
|
|
|
uint transparency;
|
|
|
|
uint cutout;
|
|
|
|
uint writeMask;
|
|
|
|
};
|