-
Notifications
You must be signed in to change notification settings - Fork 0
Chunk Format
Ryandw11 edited this page Jan 16, 2021
·
1 revision
The chunk shader format is used by the chunk pipeline by default. The Chunk Pipeline is used by the ChunkHandler.
layout (location=0) in vec3 position;
layout (location=1) in vec2 texCoord;
layout (location=2) in vec3 vertexNormal;
layout (location=3) in vec2 overlayCoord;
layout (location=4) in float[1] hasTexture;
uniform mat4 modelViewMatrix;
uniform mat4 projectionMatrix;
uniform mat4 modelLightViewMatrix;
uniform mat4 orthoProjectionMatrix;
uniform sampler2D textureAtlas;
uniform Material material;
Plus the Lighting Format