mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-11 14:03:23 -05:00
13 lines
255 B
V Shell
13 lines
255 B
V Shell
uniform vec2 uTexSize;
|
|
attribute vec4 aPosition;
|
|
attribute vec2 aColorData;
|
|
varying vec2 vTexture;
|
|
|
|
void main() {
|
|
gl_Position = aPosition;
|
|
#ifdef FILTER
|
|
vTexture = (aColorData + 0.5) / uTexSize;
|
|
#else
|
|
vTexture = aColorData / uTexSize;
|
|
#endif
|
|
} |