Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Hardware & Software > Software players

Reply
 
Thread Tools Search this Thread Display Modes
Old 11th October 2014, 19:33   #1  |  Link
Necromonger
Registered User
 
Join Date: Mar 2014
Posts: 3
Shader to play only blue color in mpchc?

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?
Necromonger is offline   Reply With Quote
Old 11th October 2014, 20:19   #2  |  Link
setarip_old
Registered User
 
setarip_old's Avatar
 
Join Date: Aug 2005
Posts: 16,274
Hi!

I believe you'll find such a filter is available foruse with VirtualDub from one of Donald Graft's website...
setarip_old is offline   Reply With Quote
Old 12th October 2014, 17:17   #3  |  Link
Shiandow
Registered User
 
Join Date: Dec 2013
Posts: 738
You should be able to do that using the following shader:

Code:
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;
}
Shiandow is offline   Reply With Quote
Old 12th October 2014, 17:56   #4  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,501
Thanks!
nautilus7 is offline   Reply With Quote
Reply

Tags
blue, calibration, color, filter, mpchc

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:01.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.