WIP Stereoscopic 3D support for half/full SBS, over/under, etc
(2013-12-09, 18:32)da-anda Wrote: yep anaglyph rendering on windows is implemented in recent nightlies. Kudos to afedchin!!!!!! Thanks a lot for helping out on this.
Thanks a lot!
maybe this can be usefull to some developers:

sampler s0 : register(s0);
float4 p0 : register(c0);

#define width (p0[0])
#define height (p0[1])

float4 main(float2 tex : TEXCOORD0) : COLOR
{
tex.x = tex.x / 2;

float4 l = tex2D(s0, tex);

tex.x = tex.x + 0.5;

float4 r = tex2D(s0, tex);

float red = l.g * 0.7 + l.b * 0.3;
float green = r.g;
float blue = r.b;

return float4(red, green, blue, 1);
}

is the shader that i use with mpchc for optimized anaglyph (red cyan) the result is much better when there cyan or red things on the video
Reply
 
Thread Rating:
  • 11 Vote(s) - 4.73 Average


Messages In This Thread
RE: Stereoscopic 3D support for half/full SBS, over/under, etc - by Lamerjack - 2013-12-16, 20:08
Intel® InTru™ 3D support - by acidizer - 2014-01-26, 12:47


Logout Mark Read Team Forum Stats Members Help
Stereoscopic 3D support for half/full SBS, over/under, etc4.7311