fs_ocornut_imgui.sc 172 B

1234567891011
  1. $input v_color0, v_texcoord0
  2. #include "../common.sh"
  3. SAMPLER2D(s_tex, 0);
  4. void main()
  5. {
  6. vec4 texel = texture2D(s_tex, v_texcoord0);
  7. gl_FragColor = texel * v_color0;
  8. }