mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-26 09:21:30 +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));
|
vec2 scaled_video_out = (registers.SourceSize.xy * vec2(video_scale_factor));
|
||||||
// Remaps position to integer scaled output
|
// Remaps position to integer scaled output
|
||||||
gl_Position = global.MVP * Position / vec4( vec2(registers.OutputSize.xy / scaled_video_out), 1.0, 1.0 );
|
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;
|
dot_size = registers.SourceSize.zw;
|
||||||
one_texel = 1.0 / (registers.SourceSize.xy * video_scale_factor);
|
one_texel = 1.0 / (registers.SourceSize.xy * video_scale_factor);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue