Hey all,
I'm trying to use render to texture and I just sort of noticed that the default stencil buffer shadows don't *seem* to show up. Is it true that RTT textures do not get the stencil buffer? Are there any other limitations?
I'm using the OpenGL driver on Windows XP with a nVidia card
Shadows on RTT
Re: Shadows on RTT
Bump - current trunk still has GL RTT stencil disabled. I too would like to see them enabled.
I see there's a more recent patch with a comment from hybrid:
http://sourceforge.net/tracker/?func=de ... tid=540678
What's the status on that?
I see there's a more recent patch with a comment from hybrid:
http://sourceforge.net/tracker/?func=de ... tid=540678
What's the status on that?
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: Shadows on RTT
It's still broken and not properly releasing things.
Re: Shadows on RTT
I've posted an updated patch on this issue:
https://sourceforge.net/tracker/index.p ... tid=540678
It addresses your earlier complaint about always creating the stencil, by adding a bool param to the addRenderTarget function.
- I could not find the leak you spoke of. Valgrind runs are identical whether there's a stencil or not.
- I could not see a FPS difference with a stencil vs no stencil. My card supports packed depth/stencil though
https://sourceforge.net/tracker/index.p ... tid=540678
It addresses your earlier complaint about always creating the stencil, by adding a bool param to the addRenderTarget function.
- I could not find the leak you spoke of. Valgrind runs are identical whether there's a stencil or not.
- I could not see a FPS difference with a stencil vs no stencil. My card supports packed depth/stencil though
Re: Shadows on RTT
Ping. This is wanted by STK too now.