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

Common.MatDefs.VR.GuiOverlay15.vert Maven / Gradle / Ivy

There is a newer version: 3.7.0-stable
Show newest version
// import the following for VR instancing
//#define VERTEX_SHADER
#import "Common/ShaderLib/GLSLCompat.glsllib"
#import "Common/ShaderLib/InstanceVR.glsllib"

in vec3 inPosition;
in vec2 inTexCoord;
out vec2 texCoord1;

void main(){
    texCoord1 = inTexCoord;
    vec4 modelSpacePos = vec4(inPosition, 1.0);
    gl_Position = TransformWorldViewProjectionVR(modelSpacePos);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy