29 lines
571 B
HLSL
29 lines
571 B
HLSL
// =================
|
|
// mirror_default.fx
|
|
// =================
|
|
|
|
#ifndef PRAGMA_DCL
|
|
#pragma dcl position diffuse texcoord0 normal tangent0
|
|
#define PRAGMA_DCL
|
|
#endif
|
|
|
|
//
|
|
// Configure the megashder
|
|
//
|
|
#define ALPHA_SHADER
|
|
#define USE_SPECULAR
|
|
#define USE_REFLECT
|
|
#define USE_MIRROR_REFLECT
|
|
#define USE_DEFAULT_TECHNIQUES
|
|
|
|
#define NO_FORWARD_DIRECTIONAL_LIGHT
|
|
#define NO_FORWARD_LOCAL_SPECULAR_LIGHT
|
|
|
|
#define MIRROR_FX
|
|
#if !__LOW_QUALITY
|
|
#define USE_FOGRAY_FORWARDPASS
|
|
#endif // !__LOW_QUALITY
|
|
|
|
#include "../../Util/macros.fxh"
|
|
#include "../../Megashader/megashader.fxh"
|