3dphotoshoot

view sdr/normvis.p.glsl @ 25:ac80210d5fbe

preparing a pc version for easier development of non-android-specifics
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 18 Jun 2015 03:12:30 +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 }