Skip to content

Commit

Permalink
Bugfix: CRT Shader Vertical Flip Logic
Browse files Browse the repository at this point in the history
Part 2
  • Loading branch information
pastasfuture committed Aug 9, 2021
1 parent 0e5633d commit e022d40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Runtime/PostProcessing/Shaders/CRT.shader
Original file line number Diff line number Diff line change
Expand Up @@ -488,8 +488,8 @@ Shader "Hidden/HauntedPS1/CRT"
positionScreenNDC.y = 1.0 - positionScreenNDC.y;
}

float2 positionFramebufferSS = input.uvFramebuffer * _ScreenSize.xy;
float2 positionScreenSS = input.uvScreen * _ScreenSize.xy;
float2 positionFramebufferSS = positionFramebufferNDC * _ScreenSize.xy;
float2 positionScreenSS = positionScreenNDC * _ScreenSize.xy;

if (!_IsPSXQualityEnabled || !_CRTIsEnabled)
{
Expand Down

0 comments on commit e022d40

Please sign in to comment.