mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-10-31 07:04:20 +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;") + | ||||
|  | ||||
|             "float color = 0.0;" + | ||||
|             "float color = 0.0001;" + | ||||
|  | ||||
|             (staticNoise !== 0 ? " | ||||
|                 float noiseVal = noiseTexel.a; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user