All Downloads are FREE. Search and download functionalities are using the official Maven repository.

resources.shaders.Grid.vert Maven / Gradle / Ivy

The newest version!
#version 120
#pragma include includes/StdLib.vert

in vec4 in_position;    //
in vec2 in_texcoord;    //
out vec2 texcoord;

uniform mat4 mat_mvp;    //

const float texscale = 90.;

void main() {
    gl_Position = mat_mvp * in_position;
    texcoord = in_texcoord * texscale;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy