View Full Version : Shader to play only blue color in mpchc?
Necromonger
11th October 2014, 19:33
I need to play video in only blue color so i can do "blue filter" color calibration. Is there any way to achieve this with shaders or in some other way and player?
setarip_old
11th October 2014, 20:19
Hi!
I believe you'll find such a filter is available foruse with VirtualDub from one of Donald Graft's website...
Shiandow
12th October 2014, 17:17
You should be able to do that using the following shader:
sampler s0 : register(s0);
float4 main(float2 tex : TEXCOORD0) : COLOR {
float4 c0 = tex2D(s0, tex);
//Set r,g channels to 0
c0.rg = 0;
return c0;
}
nautilus7
12th October 2014, 17:56
Thanks!
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.