Implemented GGX Split Sum approximation using a 2D atlas trick

This commit is contained in:
Robert Beckebans 2021-03-22 20:45:25 +01:00
parent 779534626f
commit 2391ba1b43
14 changed files with 845 additions and 372 deletions

View file

@ -2096,6 +2096,11 @@ void idRenderBackend::AmbientPass( const drawSurf_t* const* drawSurfs, int numDr
return;
}
if( viewDef->renderView.rdflags & RDF_NOAMBIENT )
{
return;
}
#if defined( USE_VULKAN )
if( fillGbuffer )
{