first commit
This commit is contained in:
		
				commit
				
					
						3a92f526a0
					
				
			
		
					 11 changed files with 2222 additions and 0 deletions
				
			
		
							
								
								
									
										12
									
								
								playground/src/shaders/vertex_shader.glsl
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								playground/src/shaders/vertex_shader.glsl
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,12 @@ | |||
| #version 140 | ||||
|          | ||||
| in vec2 position; | ||||
| in vec3 color; | ||||
| out vec3 vertex_color; | ||||
| 
 | ||||
| uniform mat4 matrix; | ||||
| 
 | ||||
| void main() { | ||||
|     vertex_color = color;  | ||||
|     gl_Position = matrix * vec4(position, 0.0, 1.0); | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue