add end portal effect. fix TAAU scaling problem with reprojected volumetrics

This commit is contained in:
Xonk
2025-01-29 22:09:53 -05:00
parent a58cdfb9e9
commit 8a62fff7a2
4 changed files with 90 additions and 31 deletions

View File

@ -1195,7 +1195,7 @@ void main() {
thingy = pow(thingy,3.5);
thingy = 1-pow(1-thingy,5);
if(LabSSS > 0.0) Indirect_lighting = Indirect_lighting + Indirect_SSS * ambientColor;
Indirect_lighting = Indirect_lighting + Indirect_SSS * ambientColor;
// Indirect_lighting = max(Indirect_lighting, Indirect_SSS * ambientColor);
// Indirect_lighting += Indirect_SSS * ambientColor;
@ -1345,7 +1345,7 @@ void main() {
#endif
#if DEBUG_VIEW == debug_FILTERED_STUFF
if(hideGUI == 0){
float value = SSAO_SSS.y;
value = pow(value,3.5);
value = 1-pow(1-value,5);