fireball/lib/renderers/shaders/ShaderLib/equirect_vert.glsl

13 lines
185 B
Plaintext
Raw Normal View History

2018-12-25 13:59:22 +00:00
varying vec3 vWorldDirection;
#include <common>
void main() {
vWorldDirection = transformDirection( position, modelMatrix );
#include <begin_vertex>
#include <project_vertex>
}