9 lines
191 B
GLSL
9 lines
191 B
GLSL
#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
|