Doodle3D-Core/shaders/matcap_vert.glsl

9 lines
153 B
GLSL

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