Files
OpenRA/glsl/postprocess_textured.vert
let5sne.win10 9cf6ebb986
Some checks failed
Continuous Integration / Linux (.NET 8.0) (push) Has been cancelled
Continuous Integration / Windows (.NET 8.0) (push) Has been cancelled
Initial commit: OpenRA game engine
Fork from OpenRA/OpenRA with one-click launch script (start-ra.cmd)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 21:46:54 +08:00

15 lines
256 B
GLSL

#version {VERSION}
uniform vec2 Pos, Scroll;
uniform vec2 p1, p2;
in vec2 aVertexPosition;
in vec2 aVertexTexCoord;
out vec2 vTexCoord;
void main()
{
gl_Position = vec4((aVertexPosition + Pos - Scroll) * p1 + p2, 0, 1);
vTexCoord = aVertexTexCoord;
}