DSDSWeb/static/js/Cesium-1.53/Source/Shaders/SunFS.glsl

10 lines
187 B
Plaintext
Raw Normal View History

2024-07-11 18:02:47 +08:00
uniform sampler2D u_texture;
varying vec2 v_textureCoordinates;
void main()
{
vec4 color = texture2D(u_texture, v_textureCoordinates);
gl_FragColor = czm_gammaCorrect(color);
}