Browse Source

Fixed coding style

vitika9 4 years ago
parent
commit
1c63866996
1 changed files with 2 additions and 1 deletions
  1. 2 1
      servers/rendering/renderer_rd/effects_rd.cpp

+ 2 - 1
servers/rendering/renderer_rd/effects_rd.cpp

@@ -1351,8 +1351,9 @@ void EffectsRD::generate_ssao(RID p_depth_buffer, RID p_normal_buffer, RID p_dep
 			if (p_settings.quality > RS::ENV_SSAO_QUALITY_VERY_LOW) {
 			if (p_settings.quality > RS::ENV_SSAO_QUALITY_VERY_LOW) {
 				if (pass < blur_passes - 2) {
 				if (pass < blur_passes - 2) {
 					blur_pipeline = SSAO_BLUR_PASS_WIDE;
 					blur_pipeline = SSAO_BLUR_PASS_WIDE;
+				} else {
+					blur_pipeline = SSAO_BLUR_PASS_SMART;
 				}
 				}
-				blur_pipeline = SSAO_BLUR_PASS_SMART;
 			}
 			}
 
 
 			for (int i = 0; i < 4; i++) {
 			for (int i = 0; i < 4; i++) {