mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 20:51:12 -06:00 
			
		
		
		
	Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions
This commit is contained in:
		
						commit
						033d9f3a5e
					
				
					 38 changed files with 1502 additions and 587 deletions
				
			
		|  | @ -1,11 +1,12 @@ | |||
| #version 110 | ||||
| 
 | ||||
| uniform vec4 uniform_color; | ||||
| uniform float emission_factor; | ||||
| 
 | ||||
| // x = tainted, y = specular; | ||||
| varying vec2 intensity; | ||||
| 
 | ||||
| void main() | ||||
| { | ||||
|     gl_FragColor = vec4(vec3(intensity.y, intensity.y, intensity.y) + uniform_color.rgb * intensity.x, uniform_color.a); | ||||
|     gl_FragColor = vec4(vec3(intensity.y) + uniform_color.rgb * (intensity.x + emission_factor), uniform_color.a); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vojtech Bubnik
						Vojtech Bubnik