From 6c1cca66a9e81b24e1a77cd739606abd481e00cd Mon Sep 17 00:00:00 2001 From: syeyoung Date: Thu, 26 Jan 2023 03:07:11 +0900 Subject: - the correct order to do stuff Signed-off-by: syeyoung --- mod/src/main/resources/assets/dungeonsguide/shaders/roundrect.frag | 1 - 1 file changed, 1 deletion(-) (limited to 'mod/src/main/resources/assets/dungeonsguide') 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 -- cgit