mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftLegends.git
synced 2026-10-22 13:22:20 +01:00
20 lines
550 B
C
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
|