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>
This commit is contained in:
14
glsl/postprocess_textured.vert
Normal file
14
glsl/postprocess_textured.vert
Normal file
@@ -0,0 +1,14 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user