SkyBoxFS.js 319 B

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