Browse Source

Merge pull request #2511 from sebavan/DDS

Shader Typo
sebavan 8 years ago
parent
commit
bd5fe4e790
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Shaders/pbr.fragment.fx

+ 1 - 1
src/Shaders/pbr.fragment.fx

@@ -773,7 +773,7 @@ void main(void) {
 
 #ifdef PREMULTIPLYALPHA
 	// Convert to associative (premultiplied) format if needed.
-	finalColor.rgb *= result.a;
+	finalColor.rgb *= finalColor.a;
 #endif
 
 	gl_FragColor = finalColor;