Browse Source

Allow setting the diffuse_color with a uniform binding

CURA-345
fieldOfView 8 years ago
parent
commit
2498e7110d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      resources/shaders/overhang.shader

+ 1 - 0
resources/shaders/overhang.shader

@@ -74,6 +74,7 @@ u_viewProjectionMatrix = view_projection_matrix
 u_normalMatrix = normal_matrix
 u_viewPosition = view_position
 u_lightPosition = light_0_position
+u_diffuseColor = diffuse_color
 
 [attributes]
 a_vertex = vertex