Pārlūkot izejas kodu

turns out independent sized render targets was causing lighting artifacting.

Azaezel 9 gadi atpakaļ
vecāks
revīzija
74e3ee5214
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. 4 1
      Engine/source/renderInstance/renderPrePassMgr.cpp

+ 4 - 1
Engine/source/renderInstance/renderPrePassMgr.cpp

@@ -153,11 +153,14 @@ bool RenderPrePassMgr::_updateTargets()
    }
 
    GFXFormat colorFormat = mTargetFormat;
+
+   /*
    bool independentMrtBitDepth = GFX->getCardProfiler()->queryProfile("independentMrtBitDepth", false);
    //If independent bit depth on a MRT is supported than just use 8bit channels for the albedo color.
    if(independentMrtBitDepth)
       colorFormat = GFXFormatR8G8B8A8;
-   
+   */
+
    // andrewmac: Deferred Shading Color Buffer
    if (mColorTex.getFormat() != colorFormat || mColorTex.getWidthHeight() != mTargetSize || GFX->recentlyReset())
    {