Realtime Fractal Renderer Documentation
optimisations_all.cl
Go to the documentation of this file.
1
// Features
2
#define DO_AMBIENT_LIGHTING true
3
#define DO_DIFFUSE_LIGHTING true
4
#define DO_SPECULAR_HIGHLIGHTS true
5
6
#define DO_HARD_SHADOWS false
7
#define DO_SOFT_SHADOWS true
8
#define DO_GEOMETRY_GLOW false
9
10
// Optimisations
11
#define INCREASE_INTERSECTION_EPSILON_LINEARLY true
12
13
#define BENCHMARK true
14
15
#define CAMERA_POSITIONS_LENGTH 2
16
#define CAMERA_POSITIONS_ARRAY { (float4)(15, -5, 0, 0), (float4)(15, -5, 0, 0) }
17
#define CAMERA_FACING_DIRECTIONS_LENGTH 1
18
#define CAMERA_FACING_DIRECTIONS_ARRAY { (float4)(normalise((float3)(1, 0, 0)), 0.0f) }
19
20
#define DO_BENCHMARK
21
#define BENCHMARK_START_STOP_TIME (float2)(0.0f, 30.0f)
22
#define CAMERA_DO_LOOP false
23
24
#include "
trivial.cl
"
trivial.cl
FractalGeometryRenderer
kernels
benchmarks
trivial
optimisations_all.cl
Generated by
1.9.3