mirror of
https://github.com/libretro/slang-shaders.git
synced 2024-06-02 19:38:36 -04:00
Consistent precision
This commit is contained in:
parent
450a9bc58d
commit
ac6692b0f0
|
@ -1,7 +1,7 @@
|
|||
// See the main shader file for copyright and other information.
|
||||
|
||||
// As determined by counting pixels on a photo.
|
||||
const vec2 subpx_ratio = vec2(0.3, 0.91);
|
||||
const vec2 subpx_ratio = vec2(0.296, 0.910);
|
||||
const vec2 notch_ratio = vec2(0.115, 0.166);
|
||||
|
||||
float rect_coverage(vec4 px_rect, vec4 rect) {
|
||||
|
|
Loading…
Reference in a new issue