Skip to content

Commit 218c351

Browse files
committed
Merge pull request #864 from SCIInstitute/brig_work
Transparent edges with uniform now work.
2 parents adf9dad + f7b3110 commit 218c351

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Interface/Modules/Render/ES/shaders/UniformColor.fs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@
3434
#endif
3535
#endif
3636

37+
uniform float uTransparency;
38+
3739
varying vec4 fColor;
3840

3941
void main()
4042
{
41-
gl_FragColor = fColor;
43+
gl_FragColor = vec4(fColor.xyz,uTransparency);
4244
}

0 commit comments

Comments
 (0)