Files
UnrealEngine/Engine/Shaders/StandaloneRenderer/OpenGL/SplashVertexShader.glsl
2025-05-18 13:04:45 +08:00

12 lines
236 B
GLSL

attribute vec2 InPosition;
varying vec2 textureCoordinate;
void main()
{
// We do not need texture coordinates. We calculate using position.
textureCoordinate = InPosition * 0.5 + 0.5;
gl_Position = vec4(InPosition, 0.0, 1.0);
}