![]() |
gdk-graphics 0b051eb9b5c1eaa0658babaa4463dd7a80aa9d2c
|
cubic volume of diffuse lighting data More...
#include <volumetric_lighting.h>
Public Types | |
using | texture_data_type = std::array<gdk::texture_data::channel_type, size_1d * CHANNELS_PER_COLOR> |
using | texture_data_view_pair = std::pair<gdk::texture_data::view, std::shared_ptr<texture_data_type>> |
using | local_space_component_type = int |
Public Member Functions | |
void | add_global (const gdk::color &aColor) |
void | add_point_light (graphics_intvector3_type aLightPosition, const float aSize, const gdk::color &aColor) |
add a pointlight to the light volume | |
texture_data_view_pair | to_texture_data () const |
cubic volume of diffuse lighting data