1#ifndef SCENE_UNIFORMS_H
2#define SCENE_UNIFORMS_H
69 float probe_grid_min[3];
71 float probe_grid_max[3];
73 int32_t probe_grid_dim[3];
75 float grid_to_idx_scale[3];
Common OpenGL definitions, RAII helpers, and utilities.
#define GL_ASSERT_UBO_ALIGNMENT(type)
Compile-time assertion that a UBO struct meets AVX alignment. Place after the typedef to catch miscon...
Definition gl_common.h:172
#define GL_UBO_ALIGNED
Attribute to apply on UBO typedef to enforce AVX alignment. Usage: } GL_UBO_ALIGNED MyUBOType;.
Definition gl_common.h:165
@ SH_TEXTURE_COUNT
Definition light_probes.h:14
GPU-side uniform buffer for billboard rendering (std140 layout).
Definition scene_uniforms.h:60
int32_t gi_mode
Definition scene_uniforms.h:70
int32_t aa_mode
Definition scene_uniforms.h:74
float _pad1
Definition scene_uniforms.h:76
int32_t debug_mode
Definition scene_uniforms.h:66
int32_t specular_aa_enabled
Definition scene_uniforms.h:72