tag:blogger.com,1999:blog-6845625574553920830.post5587321061174135817..comments2024-03-18T23:00:40.351-07:00Comments on Filthy Pants: A Computer Blog: Bloom Pixel Shader for bsnesHunter K.http://www.blogger.com/profile/18379090454291486194noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-6845625574553920830.post-14727868718342009332011-01-20T06:53:00.351-08:002011-01-20T06:53:00.351-08:00I vaguely remember a debate on the very same scanl...I vaguely remember a debate on the very same scanlines issue many many years ago with ZSnes, and after it was fixed, it did not lead to an outcry on the forums, meaning that it could not have affected performance much. This was only a question of "regular" scanlines without any of the amazing effects your and other people's shaders produce. But in any case, the only way to find out is to try and compare the results. Maybe byuu or someone on his forum knows more about this issue?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6845625574553920830.post-58558664599751457222011-01-20T06:07:47.153-08:002011-01-20T06:07:47.153-08:00Ah, yes, I see what you mean and I believe you'...Ah, yes, I see what you mean and I believe you're correct about it applying the scanlines before scaling. I'm not sure what could be done about that, though...<br /><br />Obviously, applying the mask after scaling would fix it, but I don't know what that would do to processing requirements for the filter(s).Hunter K.https://www.blogger.com/profile/18379090454291486194noreply@blogger.comtag:blogger.com,1999:blog-6845625574553920830.post-76848959521339222312011-01-20T02:46:58.678-08:002011-01-20T02:46:58.678-08:00I've uploaded a ZIP with screenshots from Kega...I've uploaded a ZIP with screenshots from Kega Fusion, BSnes and Snes9x (.068, Richard Bannister version):<br />http://rapidshare.com/#!download|891tg|443545102|Snes_Scanlines.zip|3420<br /><br />BSnes shows the same distortion as the screenshots in your post. Going back to the post you had on CRT shaders, it seems that there are the same irregularities as some scanlines seem to be thicker than others. (I'm referring to the three detailed screen shots of Mario at the end).<br /><br />I think the issue is that Bsnes applies the effect before scaling the image, while Kega Fusion and Snes9x do it afterwards. I could only include a windowed screenshot of Snes9x because there doesn't seem to be a way to make a screenshot in fullscreen mode that shows the effect too. However, I stretched the window randomly and no matter how you stretch it, the scanlines always look correct, which implies that Snes9x applies the scanlines after rendering the image.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6845625574553920830.post-84398667763614543832011-01-19T06:05:21.576-08:002011-01-19T06:05:21.576-08:00Hey man! I know the bloom shader I'm using doe...Hey man! I know the bloom shader I'm using does a sort of squeeze/offset to produce the blur, but you said you saw it on your machine without the bloom, too? Would you be interested in posting a couple of comparison shots depicting the distortion? If it is indeed something that needs fixing, perhaps I could just bring over one of the other emus' scanline filters into bsnes to correct it.Hunter K.https://www.blogger.com/profile/18379090454291486194noreply@blogger.comtag:blogger.com,1999:blog-6845625574553920830.post-61173413216569682412011-01-19T03:43:50.739-08:002011-01-19T03:43:50.739-08:00Hi,
very nice work. However, I think there is som...Hi,<br /><br />very nice work. However, I think there is something wrong with the scanlines. Check how scanlines look, say, in Kega Fusion or even Snes9x, where they are perfectly even, and compare this to the scanlines in the screenshots you have posted. There are distortions that follow a regular pattern, which suggests that the image is squeezed. (I use Simple Smoothing & Blargg's NTSC filter on bsnes, so I never noticed, but when I checked it earlier, it looked the same on my computer. I'm using Richard Bannister's port on OS X.)<br /><br />-adrenaline (from byuu.org forums)Anonymousnoreply@blogger.com