Graphics Engine is now part of the whole engine instead, Project will
actually compile #9
This commit is contained in:
		
							
								
								
									
										7
									
								
								BarinkEngine/graphics/shaders/fragment.shader
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								BarinkEngine/graphics/shaders/fragment.shader
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
			
		||||
#version 440 core
 | 
			
		||||
 | 
			
		||||
out vec4 FragColor;
 | 
			
		||||
 | 
			
		||||
void main(){
 | 
			
		||||
	FragColor = vec4(0.5f, 0.5f, 0.0f , 1.0f);
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										10
									
								
								BarinkEngine/graphics/shaders/vertex.shader
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								BarinkEngine/graphics/shaders/vertex.shader
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,10 @@
 | 
			
		||||
#version 440 core
 | 
			
		||||
in layout(location=0) vec3 aPos;
 | 
			
		||||
uniform mat4 M;
 | 
			
		||||
uniform mat4 V;
 | 
			
		||||
uniform mat4 P;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
void main() {
 | 
			
		||||
    gl_Position = P * V * M * vec4(aPos.x, aPos.y, aPos.z, 1.0);
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user