clay 0.1.2

Fast, modular and extendable ray tracer powered by OpenCL
Documentation
1
2
3
4
5
6
7
8
9
10
11
#pragma once

#include <clay_core/material/material.h>


MATERIAL_BOUNCE_RET luminous_bounce(
    MATERIAL_BOUNCE_ARGS_DEF
) {
    *color += ray.color;
    return false;
}