source: orange/orange/OrangeWidgets/Visualize Qt/sphere.fs @ 8928:9a36fbc5a66e

Revision 8928:9a36fbc5a66e, 201 bytes checked in by matejd <matejd@…>, 3 years ago (diff)

Moved shaders to their own files; applied VertexBuffer several times; removed cones from LinProj3D

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.