Update modules/base/shaders/screenspace_fs.glsl

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
This commit is contained in:
Ylva Selling
2023-06-28 17:14:14 -04:00
committed by GitHub
parent 8e8e315575
commit d317c287eb

View File

@@ -46,7 +46,8 @@ Fragment getFragment() {
// Set border color
if (vs_st.x < borderWidth.x || vs_st.x > 1 - borderWidth.x ||
vs_st.y < borderWidth.y || vs_st.y > 1 - borderWidth.y) {
vs_st.y < borderWidth.y || vs_st.y > 1 - borderWidth.y)
{
frag.color = vec4(borderColor, 1.0);
}