mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftLegends.git
synced 2026-10-22 21:32:19 +01:00
20 lines
579 B
C
20 lines
579 B
C
#ifndef _UNIFORM_PER_FRAME_CONSTANTS_H
|
|
#define _UNIFORM_PER_FRAME_CONSTANTS_H
|
|
|
|
#include "shaders/uniformMacro.h"
|
|
|
|
#ifdef MCPE_PLATFORM_NX
|
|
#extension GL_ARB_enhanced_layouts : enable
|
|
layout(binding = 2) uniform PerFrameConstants {
|
|
#endif
|
|
// BEGIN_UNIFORM_BLOCK(PerFrameConstants) - unfortunately this macro does not work on old Amazon platforms so using above 3 lines instead
|
|
UNIFORM vec3 VIEW_POS;
|
|
UNIFORM float TIME;
|
|
UNIFORM vec4 FOG_COLOR;
|
|
UNIFORM vec2 FOG_CONTROL;
|
|
UNIFORM float RENDER_DISTANCE;
|
|
UNIFORM float FAR_CHUNKS_DISTANCE;
|
|
END_UNIFORM_BLOCK
|
|
|
|
#endif
|