Untitled
Loading...
Searching...
No Matches
shadow.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
in vec2 UV
flat in uint Mat

Function Documentation

◆ layout()

layout ( std430 ,
binding = 2 )

Definition at line 39 of file shadow.frag.

References layout().

◆ main()

void main ( )

Definition at line 46 of file shadow.frag.

References Material::albedo_tex, main(), Mat, and UV.

Variable Documentation

◆ FragWorldPos

in vec3 FragWorldPos

Definition at line 6 of file shadow.frag.

◆ UV

in vec2 UV

Definition at line 44 of file shadow.frag.

◆ Mat

flat in uint Mat

Definition at line 45 of file shadow.frag.