mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 15:19:42 -06:00
VideoCommon: Implement passive stereoscopic 3D
This commit is contained in:
7
Data/Sys/Shaders/Passive/horizontal.glsl
Normal file
7
Data/Sys/Shaders/Passive/horizontal.glsl
Normal file
@ -0,0 +1,7 @@
|
||||
// Passive (horizontal rows) shader
|
||||
|
||||
void main()
|
||||
{
|
||||
float screen_row = GetWindowResolution().y * GetCoordinates().y;
|
||||
SetOutput(SampleLayer(int(screen_row) % 2));
|
||||
}
|
Reference in New Issue
Block a user