Urho3D/bin/CoreData/Shaders/HLSL/Constants.hlsl
2021-12-05 07:51:22 +00:00

9 lines
191 B
HLSL

#define M_PI 3.14159265358979323846
#define M_EPSILON 0.0001
#define M_DEGTORAD (3.14159265358979323846 / 180.0)
#ifdef PBR
#define ROUGHNESS_FLOOR 0.004
#define METALNESS_FLOOR 0.03
#endif