mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftLegends.git
synced 2026-10-24 06:02:18 +01:00
Initial commit
This commit is contained in:
commit
86efc669e9
5013 files changed
+237743
No files matched your search
@@ -0,0 +1,19 @@
|
||||
#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
|
||||
Reference in new issue
Block a user