Skip to content

Commit

Permalink
Fix invisible viewfinder when no posteffects #213
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeskydev authored Jan 24, 2022
1 parent 91a21d3 commit 9c6e38e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Assets/Shaders/SnapshotCameraFlash.shader
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ Shader "Unlit/Snapshot Camera Flash"
col.a *= _Alpha;
// apply fog
UNITY_APPLY_FOG(i.fogCoord, col);
col.a = 1.0;
return col;
}
ENDCG
Expand Down

0 comments on commit 9c6e38e

Please sign in to comment.