mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-30 18:00:06 +00:00 
			
		
		
		
	Adding color table layer
This commit is contained in:
		
							parent
							
								
									5bbfb1ecd9
								
							
						
					
					
						commit
						1c093d01f4
					
				
					 12 changed files with 324 additions and 25 deletions
				
			
		
							
								
								
									
										15
									
								
								scwx-qt/gl/texture1d.frag
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								scwx-qt/gl/texture1d.frag
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,15 @@ | |||
| #version 330 core | ||||
| 
 | ||||
| // Lower the default precision to medium | ||||
| precision mediump float; | ||||
| 
 | ||||
| uniform sampler1D uTexture; | ||||
| 
 | ||||
| in float texCoord; | ||||
| 
 | ||||
| layout (location = 0) out vec4 fragColor; | ||||
| 
 | ||||
| void main() | ||||
| { | ||||
|    fragColor = texture(uTexture, texCoord); | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat