Skip to content
Snippets Groups Projects
Select Git revision
  • 1fd626538963d00633e62fe68bb10431dc648ea5
  • main default protected
  • alazar_issues
  • atsaverage_extra
  • spectrometer/alazar_driver
  • v2025.7.1 protected
  • v2025.3.1 protected
  • v2024.11.1 protected
  • v2024.9.19-rc1 protected
  • v2024.7.1 protected
  • v2023.7.1 protected
  • v2023.6.1 protected
12 results

zurich_instruments.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    VertexColorShader.mv2shdr 459 B
    #version 450 core
    
    // Input vertex data, different for all executions of this shader.
    layout(location = 0) in vec3 vertexPosition_modelspace;
    layout(location = 1) in vec3 vertexColor;
    
    // Output
    out vec3 fragmentColor;
    
    // Values that stay constant for the whole mesh.
    uniform mat4 MVP;
    
    void main(){
    
    	// Output position of the vertex, in clip space : MVP * position
    	gl_Position =  MVP * vec4(vertexPosition_modelspace,1);
    
    	fragmentColor = vertexColor;
    
    }