mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 08:20:05 +00:00 
			
		
		
		
	bool is a non-standard glsl type not recognized by all OpenGL drivers
This commit is contained in:
		
							parent
							
								
									6907ade2ae
								
							
						
					
					
						commit
						15c0ddc327
					
				
					 4 changed files with 8 additions and 8 deletions
				
			
		|  | @ -25,7 +25,7 @@ out VertexData | |||
|    vec3  texCoord; | ||||
|    vec4  color; | ||||
|    ivec2 timeRange; | ||||
|    bool  displayed; | ||||
|    int   displayed; | ||||
| } vsOut; | ||||
| 
 | ||||
| smooth out vec3 texCoord; | ||||
|  | @ -43,7 +43,7 @@ vec2 latLngToScreenCoordinate(in vec2 latLng) | |||
| void main() | ||||
| { | ||||
|    // Always set displayed to true | ||||
|    vsOut.displayed = true; | ||||
|    vsOut.displayed = 1; | ||||
| 
 | ||||
|    // Pass the threshold and time range to the geometry shader | ||||
|    vsOut.threshold = aThreshold; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat