Fix typo in atmosphere precompute shader

This commit is contained in:
Wojtek Figat
2023-06-12 21:12:17 +02:00
parent 37bf4bb34f
commit d7ddb2ef6f
2 changed files with 3 additions and 3 deletions

View File

@@ -174,7 +174,7 @@ float4 PS_CopyInscatter1(Quad_VS2PS input) : SV_Target0
{
float3 uvw = float3(input.TexCoord, (float(AtmosphereLayer) + 0.5f) / float(AtmosphericFogInscatterAltitudeSampleNum));
float4 ray = AtmosphereDeltaSRTexture.Sample(SamplerLinearClamp, uvw);
float4 mie = AtmosphereDeltaSRTexture.Sample(SamplerLinearClamp, uvw);
float4 mie = AtmosphereDeltaSMTexture.Sample(SamplerLinearClamp, uvw);
return float4(ray.xyz, mie.x);
}