wip: tvHead
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user