Untitled
Loading...
Searching...
No Matches
point_light_shadows.frag File Reference

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

Function Documentation

◆ layout()

layout ( std430 ,
binding = 2 )

Definition at line 35 of file point_light_shadows.frag.

References layout().

◆ main()

void main ( )

Variable Documentation

◆ FragWorldPos

in vec3 FragWorldPos

Definition at line 41 of file point_light_shadows.frag.

Referenced by main().

◆ uLightPos

uniform vec3 uLightPos

Definition at line 43 of file point_light_shadows.frag.

◆ uFar

uniform float uFar

Definition at line 44 of file point_light_shadows.frag.

◆ vMat

flat in uint vMat

Definition at line 46 of file point_light_shadows.frag.

Referenced by main().

◆ vUV

in vec2 vUV

Definition at line 47 of file point_light_shadows.frag.