std140 implementation
This commit is contained in:
@@ -13,9 +13,11 @@
|
||||
|
||||
//------------[ Uniforms ]------------//
|
||||
layout (location = 0) uniform mat4 mvp_matrix;
|
||||
|
||||
#ifdef LIGHTING
|
||||
layout (location = 1) uniform mat4 model_matrix;
|
||||
//layout (location = 1) uniform mat4 model_matrix;
|
||||
#endif
|
||||
// Can be replaced by material ambient filter, right?!?
|
||||
#ifdef U_RGBA
|
||||
layout (location = 4) uniform vec4 color;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user