Sha256: 74b1a5ccb6024d32cb78c32761c1ef785c535245e5877050788b361e4340c25d
Contents?: true
Size: 494 Bytes
Versions: 13
Compression:
Stored size: 494 Bytes
Contents
attribute vec3 position3DHigh; attribute vec3 position3DLow; attribute vec3 normal; attribute vec2 st; varying vec3 v_positionEC; varying vec3 v_normalEC; varying vec2 v_st; 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_st = st; gl_Position = czm_modelViewProjectionRelativeToEye * p; }
Version data entries
13 entries across 13 versions & 1 rubygems