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

Common.MatDefs.VR.OpenVR.j3md Maven / Gradle / Ivy

There is a newer version: 3.7.0-stable
Show newest version
MaterialDef OpenVR {
    MaterialParameters {
        Int BoundDrawBuffer
        Int NumSamples
        Texture2D Texture
    
        Vector2 inUVred
        Vector2 inUVblue
        Vector2 inUVgreen
    }
 
     Technique {
        VertexShader   GLSL300 GLSL150:   Common/MatDefs/VR/OpenVR15.vert
        FragmentShader GLSL300 GLSL150: Common/MatDefs/VR/OpenVR15.frag
 
        WorldParameters {
        }
 
        Defines {
            BOUND_DRAW_BUFFER: BoundDrawBuffer
         }
 
    }
 
    Technique {
        VertexShader   GLSL300 GLSL150 GLSL100:   Common/MatDefs/VR/OpenVR.vert
        FragmentShader GLSL300 GLSL150 GLSL100: Common/MatDefs/VR/OpenVR.frag
 
        WorldParameters {
        }
 
        Defines {
            BOUND_DRAW_BUFFER: BoundDrawBuffer
         } 
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy