3dphotoshoot

view sdr/normvis.p.glsl @ 26:a460b1e5af4a

added GLUT frontend
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 18 Jun 2015 03:55:05 +0300
parents
children 3d082c566b53
line source
1 precision mediump float;
3 varying vec3 normal;
5 void main()
6 {
7 vec3 ncol = normal * 0.5 + 0.5;
8 gl_FragColor.rgb = ncol;
9 gl_FragColor.a = 1.0;
10 }