mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-12-23 03:23:48 +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>
|
||
|
}
|