Doodle3D-Core/shaders/matcap_vert.glsl

9 lines
153 B
Plaintext
Raw Normal View History

2017-11-23 17:29:56 +01:00
varying vec2 vNormal;
void main() {
vNormal = normalize(normalMatrix * normal).xy / 2. + .5;
#include <begin_vertex>
#include <project_vertex>
}