mrdoob/three.js — Issue #1064: vertex shader position
Author: nosy-b
Created: 2012-01-10 17:34:07+00:00
State: open

Hi,

Just to say that I blocked with a vertex shader not using position ( attribute passed by three).
I was doing something like
gl_Position = projectionMatrix * modelViewMatrix * vec4(vUv.x*150.0,uv.y*150.0, focal, 1.0);// local;

It didn't work. I added
vec3 pos = position;
just before it and it works, eventhough I never use pos. I don't really know why...