mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftLegends.git
synced 2026-10-22 21:32:19 +01:00
17 lines
573 B
C
17 lines
573 B
C
#ifndef _UNIFORM_INTER_FRAME_CONSTANTS_H
|
|
#define _UNIFORM_INTER_FRAME_CONSTANTS_H
|
|
|
|
#include "shaders/uniformMacro.h"
|
|
|
|
#ifdef MCPE_PLATFORM_NX
|
|
uniform InterFrameConstants {
|
|
#endif
|
|
// BEGIN_UNIFORM_BLOCK(InterFrameConstants) - unfortunately this macro does not work on old Amazon platforms so using above 3 lines instead
|
|
// in secs. This is reset every 1 hour. so the range is [0, 3600]
|
|
// make sure your shader handles the case when it transitions from 3600 to 0
|
|
UNIFORM float TOTAL_REAL_WORLD_TIME;
|
|
UNIFORM MAT4 CUBE_MAP_ROTATION;
|
|
END_UNIFORM_BLOCK
|
|
|
|
#endif
|