ShadowVolumeFS.glsl 293 Bytes
Newer Older
Manggar Mahardhika's avatar
Manggar Mahardhika committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#ifdef GL_EXT_frag_depth
#extension GL_EXT_frag_depth : enable
#endif

#ifdef VECTOR_TILE
uniform vec4 u_highlightColor;
#endif

void main(void)
{
#ifdef VECTOR_TILE
    gl_FragColor = czm_gammaCorrect(u_highlightColor);
#else
    gl_FragColor = vec4(1.0);
#endif
    czm_writeDepthClamp();
}