Sha256: 468e6a47a50fee7abf0fcb0afc19155de3bf234cfcce4199bf9063de90943f80
Contents?: true
Size: 506 Bytes
Versions: 13
Compression:
Stored size: 506 Bytes
Contents
attribute vec3 position3DHigh; attribute vec3 position3DLow; attribute vec3 normal; attribute vec4 color; varying vec3 v_positionEC; varying vec3 v_normalEC; varying vec4 v_color; void main() { vec4 p = czm_computePosition(); v_positionEC = (czm_modelViewRelativeToEye * p).xyz; // position in eye coordinates v_normalEC = czm_normal * normal; // normal in eye coordinates v_color = color; gl_Position = czm_modelViewProjectionRelativeToEye * p; }
Version data entries
13 entries across 13 versions & 1 rubygems