10 lines
189 B
GLSL
10 lines
189 B
GLSL
const float INF = 45.0;
|
|
const float PI = 3.14159;
|
|
const float E = 2.71828;
|
|
const int BOUNCES = 5;
|
|
|
|
// materials
|
|
const int MAT_SKY = -1;
|
|
const int MAT_LAMBERT = 0;
|
|
const int MAT_CHROME = 1;
|