tags:

views:

24

answers:

1

Hi,

How to produce an anaglyph rendering with LWJGL ?

Help me! Thanks

A: 

You have to render two views, one for each eye, with each view slightly shifted to the left or right. Then, you overlay the views with red and cyan/blue color masks on each (glColorMask).

Try looking through this page: http://local.wasp.uwa.edu.au/~pbourke/texture_colour/anaglyph/

erjiang