mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-11-04 09:02:14 +00:00 
			
		
		
		
	Fix division by zero when no effects were selected.
This commit is contained in:
		@@ -274,7 +274,7 @@ ShaderEffect {
 | 
				
			|||||||
                vec2 txt_coords = coords + offset * jitterDisplacement;"
 | 
					                vec2 txt_coords = coords + offset * jitterDisplacement;"
 | 
				
			||||||
            :  "vec2 txt_coords = coords;") +
 | 
					            :  "vec2 txt_coords = coords;") +
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            "float color = 0.0;" +
 | 
					            "float color = 0.0001;" +
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            (staticNoise !== 0 ? "
 | 
					            (staticNoise !== 0 ? "
 | 
				
			||||||
                float noiseVal = noiseTexel.a;
 | 
					                float noiseVal = noiseTexel.a;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user