Reusing the depth buffer across render targets

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
ent1ty
Competition winner
Posts: 1106
Joined: Sun Nov 08, 2009 11:09 am

Re: Reusing the depth buffer across render targets

Post by ent1ty »

Thanks, seems to be working now :)
irrRenderer 1.0
Height2Normal v. 2.1 - convert height maps to normal maps

Step back! I have a void pointer, and I'm not afraid to use it!
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Reusing the depth buffer across render targets

Post by Nadro »

I near future little changes may appear in RT interface.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
ent1ty
Competition winner
Posts: 1106
Joined: Sun Nov 08, 2009 11:09 am

Re: Reusing the depth buffer across render targets

Post by ent1ty »

Have you considered adding the getters I suggested on the previous page? I'm using them in my modified copy of Irrlicht and they are quite useful :)
irrRenderer 1.0
Height2Normal v. 2.1 - convert height maps to normal maps

Step back! I have a void pointer, and I'm not afraid to use it!
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Reusing the depth buffer across render targets

Post by Nadro »

Thanks for a feedback, I'll add getters, this is good idea :)
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
chronologicaldot
Competition winner
Posts: 685
Joined: Mon Sep 10, 2012 8:51 am

Re: Reusing the depth buffer across render targets

Post by chronologicaldot »

So apparently getters were never added, at least not by the Aug copy I've been working with.
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Reusing the depth buffer across render targets

Post by Nadro »

Hi,

Yes, I'll be improving RT interface in upcoming days (mainly bug fixing), so I'll add getters to it.

Cheers,
Patryk
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Reusing the depth buffer across render targets

Post by Nadro »

I added getters in the latest revision. I also renamed setRenderTarget method to setRenderTargetEx (only method with IRenderTarget parameter was changed) in this commit.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
Post Reply