Merge pull request #8069 from iwubcode/passive_support

VideoCommon: Implement passive stereoscopic 3D
This commit is contained in:
Connor McLaughlin
2019-05-12 15:15:34 +10:00
committed by GitHub
6 changed files with 57 additions and 15 deletions

View File

@ -0,0 +1,7 @@
// Passive (horizontal rows) shader
void main()
{
float screen_row = GetWindowResolution().y * GetCoordinates().y;
SetOutput(SampleLayer(int(screen_row) % 2));
}