SkyBoxFS.js 303 B

123456789
  1. //This file is automatically rebuilt by the Cesium build process.
  2. export default "uniform samplerCube u_cubeMap;\n\
  3. varying vec3 v_texCoord;\n\
  4. void main()\n\
  5. {\n\
  6. vec4 color = textureCube(u_cubeMap, normalize(v_texCoord));\n\
  7. gl_FragColor = vec4(czm_gammaCorrect(color).rgb, czm_morphTime);\n\
  8. }\n\
  9. ";