wip: tvHead

This commit is contained in:
Alexandre Coirier
2026-06-05 22:29:51 +02:00
parent 2199870593
commit ecb6f94a55
32 changed files with 2667 additions and 9654 deletions
@@ -267,6 +267,7 @@ void EnkiBillal_float
float3 NormalWS,
float ProjectionsBlend,
float DetailSize,
uint FogUse,
float4 FogColor,
float FogMin,
float FogMax,
@@ -311,7 +312,11 @@ void EnkiBillal_float
Output = Color.rgb;
Output = lerp(Output.rgb, detail.rgb, detailMask);
Output = lerp(Output.rgb, FogColor.rgb, smoothstep(FogMin, FogMax, depth) * FogColor.a);
if (FogUse)
{
Output = lerp(Output.rgb, FogColor.rgb, smoothstep(FogMin, FogMax, depth) * FogColor.a);
}
}
#endif