diff options
Diffstat (limited to 'mod/src')
-rw-r--r-- | mod/src/main/resources/assets/dungeonsguide/shaders/roundrect.frag | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mod/src/main/resources/assets/dungeonsguide/shaders/roundrect.frag b/mod/src/main/resources/assets/dungeonsguide/shaders/roundrect.frag index 9a41104a..93a6c7c0 100644 --- a/mod/src/main/resources/assets/dungeonsguide/shaders/roundrect.frag +++ b/mod/src/main/resources/assets/dungeonsguide/shaders/roundrect.frag @@ -11,6 +11,5 @@ float roundedBoxSDF(vec2 CenterPosition, vec2 Size, float Radius) { void main() { float distance = roundedBoxSDF(gl_FragCoord.xy - centerPos, halfSize, radius); float smoothedAlpha = smoothstep(-smoothness,0.0, -distance); -// gl_FragColor = mix(vec4(1.0, 1.0, 1.0, 1.0), vec4(0.0, 0.2, 1.0, smoothedAlpha), smoothedAlpha); gl_FragColor = gl_Color * vec4(1.0, 1.0, 1.0, smoothedAlpha); }
\ No newline at end of file |