Imbalanced Zero Posted June 17, 2012 Share Posted June 17, 2012 If you have a Passive 3D TV or Monitor, this shader should be useful. It should allow you to watch Side-by-Side broadcasts without you needing to switch to 3D Mode. And the best thing is you get to keep your EPG intact. It will only work in full-screen, not entirely sure how you make it work when it's windowed, but maybe someone else will figure that one out. <?xml version="1.0" encoding="iso-8859-1"?> <Shader> <Profile>ps_2_0</Profile> <Description>Side By Side to Line-Interlace</Description> <Code> sampler s0 : register(s0); float4 p0 : register(c0); #define width (p0[0]) #define height (p0[1]) #define halfscreenheight height/2 float4 main(float2 tex : TEXCOORD0) : COLOR { tex.x = tex.x*0.5; float4 l =tex2D(s0, float2(tex.x,tex.y)); tex.x = tex.x + 0.5; float4 r =tex2D(s0, float2(tex.x,tex.y)); float grid = frac(tex.y*halfscreenheight); if (grid>0.5) { return l; } else { return r; } }</Code> </Shader> SBS.xml Quote Link to comment
unklez Posted July 22, 2012 Share Posted July 22, 2012 (edited) Would this work with DLP projectors? Think I need checkerboard mode instead of interlace for DLP Edited July 22, 2012 by unklez Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.