Files
MinecraftLegends/Win32.DX11.Release/data/shaders/glsl/uniformInterFrameConstants.h
T
2026-03-08 15:34:38 -05:00

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