hawksley / eleVR-Web-Player

A Web Player for 360 Video on the Oculus
Mozilla Public License 2.0
682 stars 195 forks source link

attributes instead of uniforms? #38

Open gsabran opened 8 years ago

gsabran commented 8 years ago

Should not https://github.com/hawksley/eleVR-Web-Player/blob/master/js/player-webgl.js#L103 be

webGL.gl.enableVertexAttribArray(this.uniforms[uniformName]); ?

If so why is it working?