UNPKG

cesium

Version:

CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.

20 lines (19 loc) 441 B
//This file is automatically rebuilt by the Cesium build process. export default "#ifdef GL_EXT_frag_depth\n\ #extension GL_EXT_frag_depth : enable\n\ #endif\n\ \n\ #ifdef VECTOR_TILE\n\ uniform vec4 u_highlightColor;\n\ #endif\n\ \n\ void main(void)\n\ {\n\ #ifdef VECTOR_TILE\n\ gl_FragColor = czm_gammaCorrect(u_highlightColor);\n\ #else\n\ gl_FragColor = vec4(1.0);\n\ #endif\n\ czm_writeDepthClampedToFarPlane();\n\ }\n\ ";