Initial commit
This commit is contained in:
11
engines/playground3d/shaders/playground3d_bitmap.vertex
Normal file
11
engines/playground3d/shaders/playground3d_bitmap.vertex
Normal file
@@ -0,0 +1,11 @@
|
||||
in vec2 position;
|
||||
in vec2 texcoord;
|
||||
|
||||
out vec2 Texcoord;
|
||||
|
||||
uniform vec2 offsetXY;
|
||||
|
||||
void main() {
|
||||
Texcoord = texcoord;
|
||||
gl_Position = vec4(position + offsetXY, 0.0, 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user