GLSL depth based stereo shader 3d model
Warning. This content is not moderated and could be offensive.
loli
3dmdb logo
Blend Swap
GLSL depth based stereo shader

GLSL depth based stereo shader

by Blend Swap
Last crawled date: 6 years, 7 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.

Tags