blit.frag 284 B

12345678910111213141516
  1. #version 310 es
  2. // SPDX-License-Identifier: Unlicense OR MIT
  3. precision mediump float;
  4. layout(location=0) in highp vec2 vUV;
  5. layout(location=1) in highp float opacity;
  6. {{.Header}}
  7. layout(location = 0) out vec4 fragColor;
  8. void main() {
  9. fragColor = opacity*{{.FetchColorExpr}};
  10. }