mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 11:09:37 -06:00
Apply opacity to screenspace border (closes #3355)
This commit is contained in:
@@ -53,7 +53,7 @@ Fragment getFragment() {
|
||||
if (vs_st.x < borderWidth.x || vs_st.x > 1 - borderWidth.x ||
|
||||
vs_st.y < borderWidth.y || vs_st.y > 1 - borderWidth.y)
|
||||
{
|
||||
frag.color = vec4(borderColor, 1.0);
|
||||
frag.color = vec4(borderColor, opacity);
|
||||
}
|
||||
|
||||
if (frag.color.a == 0.0) {
|
||||
|
||||
Reference in New Issue
Block a user