SkyBoxFS.js 364 B

123456789101112131415
  1. //This file is automatically rebuilt by the Cesium build process.
  2. /*global define*/
  3. define(function() {
  4. "use strict";
  5. return "uniform samplerCube u_cubeMap;\n\
  6. \n\
  7. varying vec3 v_texCoord;\n\
  8. \n\
  9. void main()\n\
  10. {\n\
  11. vec3 rgb = textureCube(u_cubeMap, normalize(v_texCoord)).rgb;\n\
  12. gl_FragColor = vec4(rgb, czm_morphTime);\n\
  13. }\n\
  14. ";
  15. });