scariest commit ever

This commit is contained in:
Anthony Samms
2025-12-18 11:33:23 -05:00
parent a77f5f1a90
commit f827e61b83
4 changed files with 55 additions and 43 deletions

View File

@@ -7,7 +7,7 @@ uniform vec2 textureSize;
uniform float outlineSize;
uniform vec4 outlineColor;
uniform float alpha;
uniform float smoothness = 1.0; // Add this uniform for control (0.0-1.0)
uniform float smoothness = 1.0;
out vec4 finalColor;
void main()
@@ -15,7 +15,6 @@ void main()
vec4 texel = texture(texture0, fragTexCoord);
vec2 texelScale = vec2(outlineSize/textureSize.x, outlineSize/textureSize.y);
// Calculate outline
float outline = 0.0;
int ringSamples = 16;
int rings = 2;