Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
		
			
				
	
	
		
			12 lines
		
	
	
		
			168 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			168 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
 | 
						|
in float colorGradient;
 | 
						|
in vec4 finalColor;
 | 
						|
 | 
						|
out vec4 fragColor;
 | 
						|
 | 
						|
void main()
 | 
						|
{
 | 
						|
  fragColor = finalColor;
 | 
						|
  fragColor.a *= smoothstep(1.0, 0.1, abs(colorGradient));
 | 
						|
}
 |