|
Untitled
|
Go to the source code of this file.
Data Structures | |
| struct | Material |
| The Materials parsed in from scene files that determine rendering pipeline setup, uploads, and ordering. More... | |
Functions | |
| layout (std430, binding=2) buffer MaterialData | |
| void | main () |
Variables | |
| in vec3 | FragWorldPos |
| uniform vec3 | uLightPos |
| uniform float | uFar |
| flat in uint | vMat |
| in vec2 | vUV |
| layout | ( | std430 | , |
| binding | = 2 ) |
Definition at line 35 of file point_light_shadows.frag.
References layout().
| void main | ( | ) |
Definition at line 48 of file point_light_shadows.frag.
References Material::albedo_tex, Material::diffuse, FragWorldPos, main(), uFar, uLightPos, vMat, and vUV.
| in vec3 FragWorldPos |
Definition at line 41 of file point_light_shadows.frag.
Referenced by main().
| uniform vec3 uLightPos |
Definition at line 43 of file point_light_shadows.frag.
| uniform float uFar |
Definition at line 44 of file point_light_shadows.frag.
| flat in uint vMat |
Definition at line 46 of file point_light_shadows.frag.
Referenced by main().
| in vec2 vUV |
Definition at line 47 of file point_light_shadows.frag.