GLES2: More shader stuff to get things working

This commit is contained in:
20kdc
2020-08-28 12:00:16 +01:00
parent d809968635
commit d1f0ea0112
4 changed files with 11 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
uniform highp float percentagedistanceshow = 0.05;
uniform highp float gradientfalloffwidth = 3.0;
const highp float percentagedistanceshow = 0.05;
const highp float gradientfalloffwidth = 3.0;
highp vec4 circle(in highp vec2 uv, in highp vec2 pos, highp float rad, in highp vec3 color) {
highp float d = length(pos - uv) - rad;