Skip to content

Instantly share code, notes, and snippets.

@AvengerDr
AvengerDr / Program.cs
Last active October 29, 2018 23:45
How to use the NV_STEREO_IMAGE_SIGNATURE "trick" to enable stereoscopy by using DirectX11 and SlimDX.
// StereoTest
//
// This program shows how to display a stereoscopic texture.
// It loads a texture from disk containing a left and right image side by side
// and writes the NV_STEREO_IMAGE_SIGNATURE to the last row.
// This line is intercepted by the nVidia drivers and causes the 3D IR emitter to turn on
// and synchronize the shutter glasses.
//
using System.Windows.Forms;