mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-02 22:28:54 +00:00
Merge pull request #8069 from iwubcode/passive_support
VideoCommon: Implement passive stereoscopic 3D
This commit is contained in:
commit
707266aeed
6 changed files with 57 additions and 15 deletions
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));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue