Skip to content

Commit

Permalink
cCircles: Fixed final mixing
Browse files Browse the repository at this point in the history
  • Loading branch information
papadanku committed Jul 13, 2024
1 parent 0140ae9 commit 9940d60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shaders/cCircles.fx
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ float4 PS_Circles(VS2PS_Quad Input) : SV_TARGET0
float Circles = smoothstep(0.8 * (1.0 - FeatureFactor), 0.5, CircleDist * FeatureFactor);

// Mix colors together
float3 OutputColor = lerp(Circles, _BackColor, Feature);
OutputColor = lerp(_BackColor, _FrontColor, Circles);
float3 OutputColor = lerp(_FrontColor, _BackColor, Circles);
OutputColor = lerp(OutputColor, _BackColor, Feature);

return float4(OutputColor, 1.0);
}
Expand Down

0 comments on commit 9940d60

Please sign in to comment.