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