View Single Post
Old 31st May 2007, 20:52   #289  |  Link
Egh
Registered User
 
Join Date: Jun 2005
Posts: 630
Quote:
Originally Posted by Rash View Post
Does anyone know a nice 16->255 converter shader? MPC's procamp doesn't work on my system. I would like to test it with EVR custom.
Aha, new shader :P

Well as i tested it, it seems to be a shader which does identity transform for now. But you can tweak brightness/constrast constants to approximate TV->PC range conversion.

In that shader (use Edit from menu), find constants definition lines and change two of them into
#define Brightness -0.08
#define Contrast 1.15

Profit! :P does conversion with high speed here, not slowing down main CPU. So if someone does proper conversion on shaders, it is gonna be fast indeed.
Egh is offline