mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-11-14 01:57:57 +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>
|
||
|
}
|