mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-11-05 14:13:23 +01:00
9 lines
153 B
Plaintext
9 lines
153 B
Plaintext
|
varying vec2 vNormal;
|
||
|
|
||
|
void main() {
|
||
|
vNormal = normalize(normalMatrix * normal).xy / 2. + .5;
|
||
|
|
||
|
#include <begin_vertex>
|
||
|
#include <project_vertex>
|
||
|
}
|