eaglercraft-1.8/sources/resources/assets/eagler/glsl/local.vsh

29 lines
730 B
V Shell
Raw Normal View History

2022-12-25 01:12:28 -08:00
#line 2
/*
2023-01-03 22:25:02 -08:00
* Copyright (c) 2023 LAX1DUDE. All Rights Reserved.
2022-12-25 01:12:28 -08:00
*
* WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES
* NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED
* TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE
* SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR.
*
* NOT FOR COMMERCIAL OR MALICIOUS USE
*
* (please read the 'LICENSE' file this repo's root directory for more info)
*
*/
precision lowp int;
precision lowp float;
precision lowp sampler2D;
in vec2 a_position2f;
out vec2 v_position2f;
void main() {
v_position2f = a_position2f;
gl_Position = vec4(a_position2f * 2.0 - 1.0, 0.0, 1.0);
}