My work thus far. Contains shaders for motion compensation with 1 reference picture...
[xbmc:xbmc-antiquated.git] / sources / dvdplayer / ffmpeg / gpu / shaders / 3d.frag
1 //Basic Fragment shader
2 #extension GL_ARB_texture_rectangle : enable                                    
3                                                                                 
4 uniform sampler3D dpb;
5                                                                                 
6 void main(void)                                                                 
7 {                                       
8 //   gl_FragColor = texture3D(dpb, gl_TexCoord[0].xyz)               
9    gl_FragColor = texture3D(dpb, vec3(gl_TexCoord[0].x,
10                                       gl_TexCoord[0].yz)).r;
11 // gl_FragColor = vec4(0.0, 0.5, 0.0, 0.0);                                    
12 }