Doodle3D-Core/shaders/matcap_vert.glsl
2017-11-23 17:29:56 +01:00

9 lines
153 B
GLSL

varying vec2 vNormal;
void main() {
vNormal = normalize(normalMatrix * normal).xy / 2. + .5;
#include <begin_vertex>
#include <project_vertex>
}