Common.MatDefs.VR.GuiOverlay.j3md 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
MaterialDef GuiOverlay {
MaterialParameters {
Int BoundDrawBuffer
Texture2D ColorMap
// For VR instancing
Matrix4 RightEyeViewProjectionMatrix
}
Technique {
VertexShader GLSL300 GLSL150: Common/MatDefs/VR/GuiOverlay15.vert
FragmentShader GLSL300 GLSL150: Common/MatDefs/VR/GuiOverlay15.frag
WorldParameters {
WorldViewProjectionMatrix
ViewProjectionMatrix // needed for VR instancing
}
Defines {
BOUND_DRAW_BUFFER: BoundDrawBuffer
INSTANCING : RightEyeViewProjectionMatrix // For VR instancing
}
}
Technique {
VertexShader GLSL300 GLSL150 GLSL100: Common/MatDefs/VR/GuiOverlay.vert
FragmentShader GLSL300 GLSL150 GLSL100: Common/MatDefs/VR/GuiOverlay.frag
WorldParameters {
WorldViewProjectionMatrix
ViewProjectionMatrix // needed for VR instancing
}
Defines {
BOUND_DRAW_BUFFER: BoundDrawBuffer
INSTANCING : RightEyeViewProjectionMatrix // For VR instancing
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy