Untitled
Loading...
Searching...
No Matches
shadow.vert File Reference

Go to the source code of this file.

Data Structures

struct  DrawArraysIndirectCommand
 DrawArraysIndirect commands are used for static meshes (eg. More...
struct  Transform
 Transforms for MeshNode models. More...
struct  MeshNode
 MeshNodes that describe the position of Meshes, GLTF nodes for GLTFAnimations, or hold references to other MeshNodes. More...

Macros

#define MAX_MESH_NODES   1024
#define MAX_INSTANCES   1024

Functions

 layout (location=0) in vec3 aPosition
 layout (std430, binding=5) buffer DrawArraysData
void main ()

Variables

uniform mat4 projection
uniform mat4 view
out vec3 FragWorldPos
uniform uint uOffset
uniform uint uDynamicPass
out vec2 UV
flat out uint Mat
uniform uint uStartArr
uniform uint uStartEle

Macro Definition Documentation

◆ MAX_MESH_NODES

#define MAX_MESH_NODES   1024

Definition at line 65 of file shadow.vert.

◆ MAX_INSTANCES

#define MAX_INSTANCES   1024

Definition at line 77 of file shadow.vert.

Function Documentation

◆ layout() [1/2]

layout ( location = 0)

References layout().

◆ layout() [2/2]

layout ( std430 ,
binding = 5 )

Definition at line 28 of file shadow.vert.

References layout().

◆ main()

Variable Documentation

◆ projection

uniform mat4 projection

Definition at line 15 of file shadow.vert.

Referenced by layout(), and main().

◆ view

◆ FragWorldPos

out vec3 FragWorldPos

Definition at line 89 of file shadow.vert.

◆ uOffset

uniform uint uOffset

Definition at line 90 of file shadow.vert.

◆ uDynamicPass

uniform uint uDynamicPass

Definition at line 91 of file shadow.vert.

◆ UV

out vec2 UV

Definition at line 92 of file shadow.vert.

◆ Mat

flat out uint Mat

Definition at line 93 of file shadow.vert.

◆ uStartArr

uniform uint uStartArr

Definition at line 94 of file shadow.vert.

◆ uStartEle

uniform uint uStartEle

Definition at line 95 of file shadow.vert.