Re: How can I 'merge' or copy a depth buffer - I can't seem to get it with 'readpixels'?

22 views
Skip to first unread message

Marcos Scriven

unread,
Apr 27, 2013, 12:08:07 PM4/27/13
to webgl-d...@googlegroups.com

Marcos Scriven

unread,
Apr 28, 2013, 9:39:01 AM4/28/13
to webgl-d...@googlegroups.com
Found a simpler solution (thanks to somone on the webGL IRC channel) - as most browsers support float textures now, I just rendered the depth to the alpha channel. No need to pack values into separate buffer.
Reply all
Reply to author
Forward
0 new messages