tahamajs/RR / Codes /frontend /node_modules /@plotly /mapbox-gl /src /shaders /heatmap_texture.fragment.glsl
| uniform sampler2D u_image; | |
| uniform sampler2D u_color_ramp; | |
| uniform float u_opacity; | |
| varying vec2 v_pos; | |
| void main() { | |
| float t = texture2D(u_image, v_pos).r; | |
| vec4 color = texture2D(u_color_ramp, vec2(t, 0.5)); | |
| gl_FragColor = color * u_opacity; | |
| gl_FragColor = vec4(0.0); | |
| } | |
Xet Storage Details
- Size:
- 322 Bytes
- Xet hash:
- 096301ff2fc8cec5ad95a3579dcc56b7066d348712bbb896ee2c8499bcce9905
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.