 bbe692e731
			
		
	
	
		bbe692e731
		
	
	
	
	
		
			
			For recent GLSL versions, if texture2D function call appears, the error message reports an unsupported type constructor. Change message to unsupported function. Likewise for other removed texture* function calls.
		
			
				
	
	
		
			11 lines
		
	
	
		
			132 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			132 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
| #version 140
 | |
| 
 | |
| uniform sampler2D s2D;
 | |
| centroid vec2 centTexCoord;
 | |
| 
 | |
| void main()
 | |
| {
 | |
|     gl_FragColor = texture2D(s2D, centTexCoord);
 | |
| }
 | |
| 
 |