mirror of
				https://github.com/stevenrobertson/cuburn.git
				synced 2025-11-03 18:00:55 -05:00 
			
		
		
		
	Fix reversed angle factor. Ugh.
This commit is contained in:
		@ -260,7 +260,7 @@ void bilateral(float4 *dst, float sstd, float cstd,
 | 
			
		||||
            // Oh, this is ridiculous. But it works!
 | 
			
		||||
            float factor = spa_coefs[abs(i)]  * spa_coefs[abs(j)]
 | 
			
		||||
                         * expf(cscale * cdiff) * dfact
 | 
			
		||||
                         * exp2f(2.0f * (angfact - 1.0f));
 | 
			
		||||
                         * exp2f(2.0f * (-angfact - 1.0f));
 | 
			
		||||
 | 
			
		||||
            weightsum += factor;
 | 
			
		||||
            out.x += factor * pix.x;
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user