Newer
Older
casic-smartcity-well-front / static / Cesium / Shaders / SkyBoxVS.glsl
[wangxitong] on 8 Jul 2021 240 bytes mars3d总览
attribute vec3 position;

varying vec3 v_texCoord;

void main()
{
    vec3 p = czm_viewRotation * (czm_temeToPseudoFixed * (czm_entireFrustum.y * position));
    gl_Position = czm_projection * vec4(p, 1.0);
    v_texCoord = position.xyz;
}