8 lines
139 B
HLSL
8 lines
139 B
HLSL
#define M_PI 3.14159265358979323846
|
|
#define M_EPSILON 0.0001
|
|
|
|
#ifdef PBR
|
|
#define ROUGHNESS_FLOOR 0.004
|
|
#define METALNESS_FLOOR 0.03
|
|
#endif
|