• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › General Discussion v
« Previous 1 ... 87 88 89 90 91 ... 365 Next »

3D for passive/interlaced TVs
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
3D for passive/interlaced TVs
07-25-2016, 08:45 AM
#1
retrotails
Unregistered
 
I have a passive 3D TV, and while it can technically take a side-by-side/top-bottom input, it has to composite it together which adds like 1 second of input latency. Makes everything unplayable. Here's a shader, forum doesn't allow the file extension so put the code in "interlaced.glsl" and drop it in dolphin's "Shaders/Anaglyph/" folder.
To work properly you need to have the internal resolution set to "Window Size", set the stereoscopy mode to "Anaglyph" and select the shader from the "Post-Processing effect" menu. You might also need the OpenGL backend since I think it's the only thing that supports GLSL shaders.
Code:
void main() {
float2 pos = GetCoordinates() * GetResolution();
SetOutput(SampleLayer(int(pos.y)%2));
}
   
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode