Posted June 08, 2016
I wonder if it would be possible to get rid of the interlacing by a simple line doubling shader implemented in Daum's DOSBox SVN builds (there is a folder with shaders in plaintext that seem to be compiled at runtime if i understand this correctly).
http://ykhwong.x-y.net/
Two very quick and dirty (and admittedly unsophisticated) ways to implement this:
Check if a line is completely black and if so, replace it with the pixel color values from the line above. True this might give an unwanted additional line here and there, but I think that would be barely noticeable in this particular game that consists 99% of FMV.
If that is too computationally expensive, just check if a Pixel is black and then simply replace it with the color of the pixel directly above. True, that would give way more unwanted artifacts, but there are very few static scenes and screens in this game where it would matter.
Does anyone have tips how to implement that in the shader language employed by Daum's build? Or maybe there already is a more sophisticated interlacing removal shader out there (unfortunately it's not the same thing as deinterlacing for TV video signals).
http://ykhwong.x-y.net/
Two very quick and dirty (and admittedly unsophisticated) ways to implement this:
Check if a line is completely black and if so, replace it with the pixel color values from the line above. True this might give an unwanted additional line here and there, but I think that would be barely noticeable in this particular game that consists 99% of FMV.
If that is too computationally expensive, just check if a Pixel is black and then simply replace it with the color of the pixel directly above. True, that would give way more unwanted artifacts, but there are very few static scenes and screens in this game where it would matter.
Does anyone have tips how to implement that in the shader language employed by Daum's build? Or maybe there already is a more sophisticated interlacing removal shader out there (unfortunately it's not the same thing as deinterlacing for TV video signals).