Corrects the dirt lens image reference from filepath to assetId to not have overhead having to look up the asset each frame when setting the postFX

This commit is contained in:
Areloch 2023-02-26 12:58:50 -06:00
parent bae7166cc0
commit 33ac4a0864
3 changed files with 4 additions and 4 deletions

View file

@ -17,7 +17,7 @@ $PostFX::HDRPostFX::radius = 4;
$PostFX::HDRPostFX::enableDirt = 1;
$PostFX::HDRPostFX::dirtScale = 2048;
$PostFX::HDRPostFX::dirtIntensity = 2;
$PostFX::HDRPostFX::dirtImage = "core/postFX/images/lensDirt.png";
$PostFX::HDRPostFX::dirtImage = "Core_PostFX:lensDirt_image";
$PostFX::HDRPostFX::dirtEdgeMinDist = 0.125;
$PostFX::HDRPostFX::dirtEdgeMaxDist = 0.75;
$PostFX::HDRPostFX::dirtEdgeMinVal = 0.05;