nngn
Loading...
Searching...
No Matches
light_ubo.h
Go to the documentation of this file.
1#include "../const.h"
2
8
15
16LAYOUT2(set = 0, binding = 0) uniform Lights {
17 uint flags;
18 float depth_transform0, depth_transform1;
19 vec3 view_pos;
20 uint n_dir;
21 vec3 ambient;
22 uint n_point;
23 DirLights dir;
24 PointLights point;
#define LAYOUT2(x, y)
Definition common.h:12
#define NNGN_MAX_LIGHTS
Definition const.h:6
local n_dir
Definition dump_lights.lua:1
lights
Definition light_ubo.h:25
pos
Definition lua_audio.cpp:17
set
Definition camera.lua:47
Definition light_ubo.h:3
vec4 color_spec[8]
Definition light_ubo.h:5
mat4 mat[8]
Definition light_ubo.h:6
vec4 dir[8]
Definition light_ubo.h:4
Definition light_ubo.h:9
vec4 color_spec[8]
Definition light_ubo.h:11
vec4 att_cutoff[8]
Definition light_ubo.h:13
vec4 dir[8]
Definition light_ubo.h:10
local vec3
Definition zelda.lua:8