Common.MatDefs.VR.GuiOverlay15.vert Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jme3-vr Show documentation
Show all versions of jme3-vr Show documentation
jMonkeyEngine is a 3-D game engine for adventurous Java developers
// 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