mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftLegends.git
synced 2026-10-24 06:02:18 +01:00
18 lines
495 B
C
18 lines
495 B
C
#ifndef _UNIFORM_WORLD_CONSTANTS_H
|
|
#define _UNIFORM_WORLD_CONSTANTS_H
|
|
|
|
#include "shaders/uniformMacro.h"
|
|
|
|
#ifdef MCPE_PLATFORM_NX
|
|
#extension GL_ARB_enhanced_layouts : enable
|
|
layout(binding = 1) uniform WorldConstants {
|
|
#endif
|
|
// BEGIN_UNIFORM_BLOCK(WorldConstants) - unfortunately this macro does not work on old Amazon platforms so using above 3 lines instead
|
|
UNIFORM MAT4 WORLDVIEWPROJ;
|
|
UNIFORM MAT4 WORLD;
|
|
UNIFORM MAT4 WORLDVIEW;
|
|
UNIFORM MAT4 PROJ;
|
|
END_UNIFORM_BLOCK
|
|
|
|
#endif
|