Remove texturereferences in default materials

This commit is contained in:
2023-05-21 00:50:56 +03:00
parent 1f265bddf4
commit 9b68acd648
3 changed files with 6 additions and 3 deletions

View File

@@ -472,6 +472,7 @@ void PostProcessingPass::Render(RenderContext& renderContext, GPUTexture* input,
// - 5 - LensStar - lens star texture
// - 7 - ColorGradingLUT
context->BindSR(0, input->View());
if (useLensFlares)
context->BindSR(4, getCustomOrDefault(settings.LensFlares.LensDirt, _defaultLensDirt, TEXT("Engine/Textures/DefaultLensDirt")));
context->BindSR(7, colorGradingLutView);