julien-c's picture
julien-c HF staff
do not gitignore the builds
6cd9596
raw
history blame
271 Bytes
export default /* glsl */`
varying vec3 vWorldDirection;
#include <common>
void main() {
vWorldDirection = transformDirection( position, modelMatrix );
#include <begin_vertex>
#include <project_vertex>
gl_Position.z = gl_Position.w; // set z to camera.far
}
`;