Scanline thickness setting
NewHome › Forums › OSSC, OSSC Pro and DExx-vd isl › OSSC – Feature Requests › Scanline thickness setting
- This topic has 13 replies, 8 voices, and was last updated April 10, 2019 at 10:56 PM by
marqs.
-
AuthorPosts
-
July 10, 2016 at 4:23 PM #7862January 30, 2017 at 8:28 PM #11029
Same thin effect happens with 480p X2.
Adding extra(s) scanline(s) would be very appreciated. Even more if we could adjust intensity of each one separately as paulb_nl suggested.One more vote for that! 🙂
February 22, 2017 at 8:18 PM #11465Now that x4 and x5 modes are available, scanline thickness customization is even more relevant/desirable.
It would be great to be able to render x4-mode and x5-mode scanlines as only 1-line thick (as opposed to the currently-fixed 2-line thickness).
I don’t think I care as much about adjusting the intensity/transparency of the scanlines as requested in the above posts, though if that option were added I’d still probably enjoy messing with it 🙂
June 5, 2017 at 12:37 AM #13123Just wanted to bump this request up again. Variable scanline thickness is probably the only significant option missing from an otherwise fully customizable OSSC experience, especially after now after the release of v0.77 and the nice additions it brought.
July 3, 2017 at 9:15 PM #13652I’d agree: I can only use 1x/2x/4x on my display, and 2x/4x both have the same behaviour of blanking out half the lines, which is much too thick for me to use. Adjustable scanline thickness would allow for thinner/smoother scanlines without presumably using any extra processing power (since it really just means applying a fixed pattern of scanline brightness instead of the current 0%/0%/100%/100%).
For example, I would think that a scanline pattern on 4x that looks something like this would be more pleasing to me:
100%
80%
0%
80%July 19, 2017 at 4:36 AM #13884Definitely jumping on this train. I would love to be able to have my scanlines fixed at 1-line thick so I can make them darker without sacrificing image clarity.
July 20, 2017 at 10:30 PM #13944An advanced scanline setting (in addition to current “Off”, “Auto”, “Manual”) with the ability to independently set intensities of mask lines 1-5 (from 0 to 100%) would fulfill the wishes I suppose. It’s not too much work so the feature could make its way to upcoming fw releases soon.
April 30, 2018 at 3:23 AM #21257An advanced scanline setting (in addition to current “Off”, “Auto”, “Manual”) with the ability to independently set intensities of mask lines 1-5 (from 0 to 100%) would fulfill the wishes I suppose. It’s not too much work so the feature could make its way to upcoming fw releases soon.
Hope this independent mask lines feature can make it into firmware 0.82. The hybrid/multiplicative scanline functionality introduced in 0.81 will be very fun to play with in the meantime!
May 25, 2018 at 6:33 PM #21873I’d like to show my support for independent mask lines. If we had this feature we could implement proper band-limited scanlines (via lookup). Not band-limiting them is why scanlines look bad at 4.5x scale. If you use a 9-entry table in a 4.5x mode scanlines can look good at couch distances.
Here are the weights I use in the shader I wrote for emulators. 51.5% 79.3% 100.0% 79.3% 51.5% 62.5% 94.2% 94.2% 62.5%
The order has to be flipped if the first line is 4x and the second line is 5x.The formula is cos((x-2)*pi/4.5)^2 * .5 + .5
The -2 is to adjust the phase so that the 100% coefficient is in the middle of the group of 5 lines not the group of 4.
The 4.5 corresponds to the ‘X’ of the image scale.
The two .5 on the end make 50% scanline intensity.
(Yes, I know that cos^2 is only an approximation of the “real” scanline formula.)June 5, 2018 at 1:03 PM #22029@Mordion
There is no 4.5x mode on the OSSC, so I’m not sure how you mean this could be implemented.June 5, 2018 at 3:12 PM #22030I assumed that the reason there is no 4.5x mode (which is just alternating 4x and 5x every line) is because it looks terrible not because it’s hard to implement. I think that implementing a 4.5x mode would be an easier task than the scanline lookup table being proposed so I took it as a given. The intention of my post is to demonstrate the value of implementing the proposed feature.
March 22, 2019 at 11:15 PM #25676Finally got around implementing overlay pattern customization, will be part of next firmware release.
April 10, 2019 at 5:43 PM #25818Thanks Marqs, great work. Is it correct that only the first 2 columns can be changed even in lineX4 and lineX5?
April 10, 2019 at 10:56 PM #25822 -
AuthorPosts
- You must be logged in to reply to this topic.