blob: d5e132541722042a5d5c6ed4616940db8b3d424f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$input v_texcoord0
/*
* Copyright 2011-2018 Branimir Karadzic. All rights reserved.
* License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
*/
#include "../common/common.sh"
SAMPLER2D(s_texColor, 0);
void main()
{
gl_FragColor = texture2D(s_texColor, v_texcoord0.xy*0.5+0.5);
}
|