Files
expvintl 419f2e4752 init
2025-02-23 17:40:52 +08:00

25 lines
756 B
HLSL

#if 0 // Fix for BS#2219485
#ifndef PRAGMA_DCL
#pragma dcl position diffuse texcoord0 texcoord1 texcoord2 normal tangent0
#define PRAGMA_DCL
#define USE_ANIMATED_UVS // add AnimationUV support (define before gta_common.h)
#if __SHADERMODEL >= 40
#define USE_EDGE_WEIGHT
#endif // __SHADERMODEL >= 40
#endif
#else
#ifndef PRAGMA_DCL
#pragma dcl position diffuse texcoord0 texcoord1 normal tangent0
#define PRAGMA_DCL
#define USE_ANIMATED_UVS // add AnimationUV support (define before gta_common.h)
#if __SHADERMODEL >= 40
#define USE_EDGE_WEIGHT
#define SUPRESS_PADDING
#endif // __SHADERMODEL >= 40
#endif
#endif // Fix for BS#2219485
#define USE_PARALLAX_MAP_V2 (__SHADERMODEL >= 40)
#include "normal_spec_decal.fx"