mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Changed lensflare formula
This commit is contained in:
parent
539c19bdee
commit
917a86863e
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ float4 PSLensFlare(PixelShaderInput input) : SV_Target
|
||||||
totalLensFlareColor += lensFlareColor;
|
totalLensFlareColor += lensFlareColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
color.xyz += totalLensFlareColor;
|
color.xyz = lerp(color.xyz, color.xyz + totalLensFlareColor, saturate(dot(totalLensFlareColor, float3(0.5f, 0.5f, 0.5f))));
|
||||||
|
|
||||||
return color;
|
return color;
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue