Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiliMilk committed Jun 2, 2022
2 parents a45a420 + cdb497d commit bbac885
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Assets/ChiliMilkToonShader/Include/ToonInput.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ half SampleAmbientOcclusionToon(float2 normalizedScreenSpaceUV, half occlusion)
half ssao = 1.0;
#if defined(_SCREEN_SPACE_OCCLUSION)
ssao = SampleAmbientOcclusion(normalizedScreenSpaceUV);
ssao = StepFeatherToon(ssao, _Shadow1Step, _Shadow1Feather) * _SSAOStrength;
ssao = StepFeatherToon(ssao, _Shadow1Step, _Shadow1Feather);
ssao = lerp(1, ssao, _SSAOStrength);
#endif
ssao = min(ssao, occlusion);
return ssao;
Expand Down

0 comments on commit bbac885

Please sign in to comment.