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

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

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

attribute vec3 inPosition;
attribute vec2 inTexCoord;
varying vec2 texCoord1;

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy