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

20 lines
550 B
C

#ifndef _UNIFORM_TEXT_CONSTANTS_H
#define _UNIFORM_TEXT_CONSTANTS_H
#include "shaders/uniformMacro.h"
#ifdef MCPE_PLATFORM_NX
uniform TextConstants {
#endif
// BEGIN_UNIFORM_BLOCK(TextConstants) - unfortunately this macro does not work on old Amazon platforms so using above 3 lines instead
UNIFORM float GLYPH_SMOOTH_RADIUS;
UNIFORM float GLYPH_CUTOFF;
UNIFORM float OUTLINE_CUTOFF;
UNIFORM vec4 OUTLINE_COLOR;
UNIFORM float SHADOW_SMOOTH_RADIUS;
UNIFORM vec4 SHADOW_COLOR;
UNIFORM vec2 SHADOW_OFFSET;
END_UNIFORM_BLOCK
#endif