mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2025-02-16 23:17:43 +11:00
Display 480p content at full res with interlacing off
This commit is contained in:
parent
70d1b26378
commit
ab5d7681c1
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ void main()
|
|||
|
||||
TextureSize = global.SourceSize.xy;
|
||||
|
||||
ilfac = vec2(1.0, clamp(floor(global.SourceSize.y/200.0), 1.0, 2.0));
|
||||
ilfac = vec2(1.0, clamp(floor(global.SourceSize.y/(interlace_detect == 1.0 ? 200.0 : 1000.0)), 1.0, 2.0));
|
||||
|
||||
// The size of one texel, in texture-coordinates.
|
||||
v_one = ilfac / TextureSize.xy;
|
||||
|
|
Loading…
Add table
Reference in a new issue