add : unabomber scene

This commit is contained in:
2026-09-28 14:58:25 +02:00
parent e95980d88c
commit 769a75f9bb
137 changed files with 12749 additions and 9 deletions
@@ -273,7 +273,15 @@ void EnkiBillalFullscreen_float
float2 uvDistort1 = uv0 + nDistort1 * .025;
float3 sceneColor2 = SampleSceneColor(uvDistort0);
sceneColor2 = lerp(sceneColor2, SampleSceneColor(uvDistort1), .3);
float3 cDistort = saturate(sceneColor2 - sceneColor) * distortAtten;
// Carry pigment from the closest surface instead of adding a positive RGB
// difference (which turns dark silhouettes against the sky into white fringes).
float3 bleedColor = SampleSceneColor(uv0);
float bleedDepth = depthMeters;
float sampleDepth0 = LinearEyeDepth(SampleSceneDepth(uvDistort0), _ZBufferParams);
float sampleDepth1 = LinearEyeDepth(SampleSceneDepth(uvDistort1), _ZBufferParams);
if (sampleDepth0 < bleedDepth) { bleedColor = SampleSceneColor(uvDistort0); bleedDepth = sampleDepth0; }
if (sampleDepth1 < bleedDepth) { bleedColor = SampleSceneColor(uvDistort1); }
float bleedWeight = saturate(length(sceneColor2 - sceneColor) * 1.5) * distortAtten;
// OUTLINE
@@ -317,7 +325,7 @@ void EnkiBillalFullscreen_float
//c = lerp(c, sceneColor2, (greyscale + smoothstep(5, 35, depthMeters) * .8) * .5);
//c += sceneColor2 * greyscale * .5;
c = lerp(c, outlineColor, outline);
c += cDistort * 1.5;
c = lerp(c, bleedColor, bleedWeight);
//c = ((c + 1) * (sceneColor2 + 0));
//c = smoothstep(-.1, 0, np2);
//c = greyscale;
@@ -379,4 +387,4 @@ void EnkiBillalFullscreen_float
//Output = hatchMask;
//Output = dot(normalWS, viewDir);
}
#endif
#endif