Blend Swap

GLSL depth based stereo shader
by Blend Swap
Last crawled date: 7 years, 8 months ago
This is a shader I wrote to render anaglyph in bge without using blender's stereo function (which was broken when I wrote this). It's fairly simple and could be modified for other types of stereo, inculding generating multiview for autostereo screens (like alioscopy). It displaces the buffer based on the depthcolor. The mouse wheel controls the scale value which shifts the zero parallax plane forward and backward.