fireball/lib/renderers/shaders/ShaderLib/equirect_vert.glsl
2018-12-25 17:29:22 +03:30

13 lines
185 B
GLSL

varying vec3 vWorldDirection;
#include <common>
void main() {
vWorldDirection = transformDirection( position, modelMatrix );
#include <begin_vertex>
#include <project_vertex>
}