|
nngn
|
#include "../const.h"
Go to the source code of this file.
Functions | |
| LAYOUT2 (set=0, binding=1) uniform sampler2DArray lights_shadow_map | |
| LAYOUT (location=1) in vec3 frag_pos | |
| float | attenuation (uint i, float d) |
| float | spot (uint i, vec3 d) |
| float | light_spec (float spec, vec3 dir, vec3 view_dir) |
| float | sample_shadow (uint i, vec2 v) |
| float | sample_shadow_point (uint i, vec3 v) |
| bool | in_shadow (uint i) |
| bool | in_shadow_point (uint i) |
| vec3 | light () |
Variables | |
| uniform samplerCube | lights_shadow_cube [8] |
| bool in_shadow | ( | uint | i | ) |


| bool in_shadow_point | ( | uint | i | ) |


| LAYOUT | ( | location | = 1 | ) |
| LAYOUT2 | ( | set | = 0, |
| binding | = 1 ) |
| vec3 light | ( | ) |





| uniform samplerCube lights_shadow_cube[8] |