mirror of
https://github.com/libretro/slang-shaders.git
synced 2024-11-23 08:19:54 +00:00
Update crt-easymode-halation.slang
These 2 factors cancel out, I think.
This commit is contained in:
parent
5d7574566f
commit
1ca0462818
@ -204,8 +204,8 @@ void main()
|
||||
float mask_dither = fract(mask_config.x) * 10.0;
|
||||
|
||||
vec2 mod_fac = floor(
|
||||
vTexCoord * global.OutputSize.xy * global.SourceSize.xy /
|
||||
(global.SourceSize.xy * vec2(param.MASK_SIZE, mask_dot_height * param.MASK_SIZE))
|
||||
vTexCoord * global.OutputSize.xy /
|
||||
(vec2(param.MASK_SIZE, mask_dot_height * param.MASK_SIZE))
|
||||
);
|
||||
|
||||
int dot_no = int(mod((mod_fac.x + mod(mod_fac.y, 2.0) * mask_stagger) / mask_dot_width, mask_colors));
|
||||
|
Loading…
Reference in New Issue
Block a user