Unify text shader handling
This commit is contained in:
@@ -8,13 +8,10 @@ layout(set = 2, binding = 0) uniform sampler2D texSampler;
|
||||
|
||||
layout(set = 3, binding = 0) uniform TextConfig
|
||||
{
|
||||
vec4 textColor;
|
||||
vec4 borderColor;
|
||||
vec4 backgroundColor;
|
||||
float threshold;
|
||||
float borderSize;
|
||||
vec4 textColor;
|
||||
vec4 backgroundColor;
|
||||
float threshold;
|
||||
float smoothing;
|
||||
bool applyBorder;
|
||||
} textConfig;
|
||||
|
||||
float median(float r, float g, float b) {
|
||||
|
||||
Reference in New Issue
Block a user