Borisov Posted June 30, 2016 Share Posted June 30, 2016 For each frame, I need to process camera depth buffer on CPU via my spetial algorithm. How can I do it fast on 2.2.1 framework version? Second question is, how to disable render steps after building depth buffer? I need only depth buffer. Link to comment
silent Posted July 1, 2016 Share Posted July 1, 2016 Hi Borisov, I'm afraid, without additional engine internal modifications it's currently not possible to disable render steps after depth buffer. Also, there is no way to get depth texture via engine API. It's possible hovewer, to visualize depth buffer (for example, create a custom post effect shader and render viewport with this shader to texture), but it will cause precision lost. If you can provide us more technical information about your needs - it will be very helpful (you can use our Skype channel as well to communicate directly). Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts