mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
16 lines
263 B
GLSL
16 lines
263 B
GLSL
|
|
uniform mat4 projMat;
|
|
|
|
uniform mat4 spriteMat;
|
|
|
|
uniform vec2 texSizeInv;
|
|
|
|
attribute vec2 position;
|
|
attribute vec2 texCoord;
|
|
|
|
varying vec2 v_texCoord;
|
|
|
|
void main(){
|
|
gl_Position = projMat * spriteMat * vec4(position, 0, 1);
|
|
v_texCoord = texCoord * texSizeInv;
|
|
}
|