mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-11-04 00:52:11 +00:00 
			
		
		
		
	Fixed fontColor conversion applied two times.
This commit is contained in:
		@@ -317,7 +317,7 @@ ShaderEffect {
 | 
				
			|||||||
             "txt_color *= min2(step(vec2(0.0), staticCoords) - step(vec2(1.0), staticCoords));" +
 | 
					             "txt_color *= min2(step(vec2(0.0), staticCoords) - step(vec2(1.0), staticCoords));" +
 | 
				
			||||||
             "txt_color *= getScanlineIntensity(coords);" +
 | 
					             "txt_color *= getScanlineIntensity(coords);" +
 | 
				
			||||||
 | 
					
 | 
				
			||||||
             "txt_color += fontColor.rgb * color;" +
 | 
					             "txt_color += vec3(color);" +
 | 
				
			||||||
             "float greyscale_color = rgb2grey(txt_color);" +
 | 
					             "float greyscale_color = rgb2grey(txt_color);" +
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            (chromaColor !== 0 ?
 | 
					            (chromaColor !== 0 ?
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user