oglc/shader/include/constants.glsl

10 lines
189 B
Plaintext
Raw Normal View History

2021-08-13 21:03:19 +02:00
const float INF = 50.0;
2021-08-10 02:11:22 +02:00
const float PI = 3.14159;
2021-08-13 14:43:54 +02:00
const float E = 2.71828;
2022-01-30 23:01:02 +01:00
const int BOUNCES = 4;
// materials
const int MAT_SKY = -1;
const int MAT_LAMBERT = 0;
const int MAT_CHROME = 1;