source: orange/Orange/OrangeWidgets/Visualize Qt/sphere.fs @ 9671:a7b056375472

Revision 9671:a7b056375472, 201 bytes checked in by anze <anze.staric@…>, 2 years ago (diff)

Moved orange to Orange (part 2)

Line 
1varying float transparency;
2uniform bool use_transparency;
3
4void main(void)
5{
6    gl_FragColor = vec4(0.5, 0.5, 0.5, 1. - transparency - 0.6);
7    if (!use_transparency)
8        gl_FragColor.a = 1.;
9}
Note: See TracBrowser for help on using the repository browser.