Realtime Fractal Renderer Documentation
mandelbulb_cross_section.cl File Reference
#include "utils.cl"
#include "types.cl"
#include "sdf.cl"
#include "mandelbulb.cl"
Include dependency graph for mandelbulb_cross_section.cl:

Go to the source code of this file.

Macros

#define OVERRIDE   true
 
#define ITERATIONS   10
 

Functions

Light getLight (float time)
 
Material mandelbulbSDF (const float3 position, const float time, float *distance)
 
float boundingVolumeDE (float3 position, float time)
 

Macro Definition Documentation

◆ ITERATIONS

#define ITERATIONS   10

Definition at line 4 of file mandelbulb_cross_section.cl.

◆ OVERRIDE

#define OVERRIDE   true

Definition at line 1 of file mandelbulb_cross_section.cl.

Function Documentation

◆ boundingVolumeDE()

float boundingVolumeDE ( float3  position,
float  time 
)

Definition at line 64 of file mandelbulb_cross_section.cl.

◆ getLight()

Light getLight ( float  time)

Definition at line 12 of file mandelbulb_cross_section.cl.

◆ mandelbulbSDF()

Material mandelbulbSDF ( const float3  position,
const float  time,
float *  distance 
)

Definition at line 25 of file mandelbulb_cross_section.cl.