Browse Source

Revert PBR Changes

Sebastien Vandenberghe 7 năm trước cách đây
mục cha
commit
317c419b40
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      src/Shaders/ShadersInclude/imageProcessingFunctions.fx

+ 0 - 2
src/Shaders/ShadersInclude/imageProcessingFunctions.fx

@@ -83,9 +83,7 @@ vec4 applyImageProcessing(vec4 result) {
 
 	// Going back to gamma space
 	result.rgb = toGammaSpace(result.rgb);
-#if !(defined(ALPHABLEND) && defined(PREMULTIPLYALPHA))
 	result.rgb = clamp(result.rgb, 0.0, 1.0);
-#endif
 
 #ifdef CONTRAST
 	// Contrast