mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftLegends.git
synced 2026-10-22 21:32:19 +01:00
16 lines
503 B
C
16 lines
503 B
C
#ifndef _UNIFORM_RENDER_CHUNK_CONSTANTS_H
|
|
#define _UNIFORM_RENDER_CHUNK_CONSTANTS_H
|
|
|
|
#include "shaders/uniformMacro.h"
|
|
|
|
#ifdef MCPE_PLATFORM_NX
|
|
#extension GL_ARB_enhanced_layouts : enable
|
|
layout(binding = 0) uniform RenderChunkConstants {
|
|
#endif
|
|
// BEGIN_UNIFORM_BLOCK(RenderChunkConstants) - unfortunately this macro does not work on old Amazon platforms so using above 3 lines instead
|
|
UNIFORM POS4 CHUNK_ORIGIN_AND_SCALE;
|
|
UNIFORM float RENDER_CHUNK_FOG_ALPHA;
|
|
END_UNIFORM_BLOCK
|
|
|
|
#endif
|