mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-23 00:01:31 +11:00
remove vestigial console-border parameter and half-pixel offset from gb-pass0
This commit is contained in:
parent
2dbc0d86e7
commit
bd385aa889
|
@ -92,7 +92,7 @@ void main()
|
|||
vec2 scaled_video_out = (registers.SourceSize.xy * vec2(video_scale_factor));
|
||||
// Remaps position to integer scaled output
|
||||
gl_Position = global.MVP * Position / vec4( vec2(registers.OutputSize.xy / scaled_video_out), 1.0, 1.0 );
|
||||
vTexCoord = TexCoord + half_pixel;
|
||||
vTexCoord = TexCoord;// + half_pixel;
|
||||
dot_size = registers.SourceSize.zw;
|
||||
one_texel = 1.0 / (registers.SourceSize.xy * video_scale_factor);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue