error.glslv 951 B

12345678910111213141516171819202122232425
  1. #version GLSL_VERSION
  2. /*==============================================================================
  3. INCLUDES
  4. ==============================================================================*/
  5. #include <std.glsl>
  6. #include <math.glslv>
  7. /*==============================================================================
  8. SHADER INTERFACE
  9. ==============================================================================*/
  10. GLSL_IN vec3 a_position;
  11. //------------------------------------------------------------------------------
  12. uniform mat3 u_view_tsr;
  13. uniform mat4 u_proj_matrix;
  14. /*==============================================================================
  15. MAIN
  16. ==============================================================================*/
  17. void main(void) {
  18. gl_Position = u_proj_matrix * tsr_to_mat4(u_view_tsr) * vec4(a_position, 1.0);
  19. }