mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 04:10:06 +00:00 
			
		
		
		
	Add visibility to icon draw items
This commit is contained in:
		
							parent
							
								
									d905abd3e7
								
							
						
					
					
						commit
						931b5d8481
					
				
					 7 changed files with 248 additions and 102 deletions
				
			
		|  | @ -16,12 +16,16 @@ out VertexData | |||
|    vec3  texCoord; | ||||
|    vec4  color; | ||||
|    ivec2 timeRange; | ||||
|    bool  displayed; | ||||
| } vsOut; | ||||
| 
 | ||||
| smooth out vec4 color; | ||||
| 
 | ||||
| void main() | ||||
| { | ||||
|    // Always set displayed to true | ||||
|    vsOut.displayed = true; | ||||
| 
 | ||||
|    // Pass the threshold and time range to the geometry shader | ||||
|    vsOut.threshold = aThreshold; | ||||
|    vsOut.timeRange = aTimeRange; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat