Hi, I'm trying to modify a shader that tries to emulate a NTSC composite signal for Retroarch, like Blargg filters do.
I'm not really knowledgeable about signal processing or coding, so please excuse me if I'm difficult to understand.
I applied a pow(rgb , 2.2) at the beginning and pow(rgb , 1/2.2) at the end of the processing.
But in between there is rgb2yiq and yiq2rgb conversion.
All the processing is made in yiq.
And in the end it makes this kind of issue: no linear gamma / linear gamma
(that's Undead Line intro on Megadrive)
Any idea what I should do there?
I'm joining the shader files.
I'm not really knowledgeable about signal processing or coding, so please excuse me if I'm difficult to understand.
I applied a pow(rgb , 2.2) at the beginning and pow(rgb , 1/2.2) at the end of the processing.
But in between there is rgb2yiq and yiq2rgb conversion.
All the processing is made in yiq.
And in the end it makes this kind of issue: no linear gamma / linear gamma
(that's Undead Line intro on Megadrive)
Any idea what I should do there?
I'm joining the shader files.