diff options
author | syeyoung <cyoung06@naver.com> | 2023-01-26 03:07:11 +0900 |
---|---|---|
committer | syeyoung <cyoung06@naver.com> | 2023-01-26 03:08:11 +0900 |
commit | 6c1cca66a9e81b24e1a77cd739606abd481e00cd (patch) | |
tree | 0aa0de1bd458b02c210fab4aaf1c8df94af16ffa /mod | |
parent | 7432e1f1c8ca4ddabd345967bcf8feac54413d47 (diff) | |
download | Skyblock-Dungeons-Guide-6c1cca66a9e81b24e1a77cd739606abd481e00cd.tar.gz Skyblock-Dungeons-Guide-6c1cca66a9e81b24e1a77cd739606abd481e00cd.tar.bz2 Skyblock-Dungeons-Guide-6c1cca66a9e81b24e1a77cd739606abd481e00cd.zip |
- the correct order to do stuff
Signed-off-by: syeyoung <cyoung06@naver.com>
Diffstat (limited to 'mod')
-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 |