mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 11:39:49 -06:00
Update modules/base/shaders/screenspace_fs.glsl
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user