14 lines
		
	
	
		
			191 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			191 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
| #version 330
 | |
| 
 | |
| layout(points) in;
 | |
| layout(triangle_strip, max_vertices = 4) out;
 | |
| 
 | |
| float getV();
 | |
| 
 | |
| void main (void)
 | |
| {
 | |
|     float v = getV();
 | |
|     EndPrimitive();
 | |
|     EndPrimitive();
 | |
| }
 | 
