Depth sharing Design
-
- Greenskin
- Posts: 110
- Joined: Sun Dec 04, 2005 5:17 pm
- Location: Russia
- x 5
- Contact:
- dark_sylinc
- OGRE Team Member
- Posts: 5296
- Joined: Sat Jul 21, 2007 4:55 pm
- Location: Buenos Aires, Argentina
- x 1278
- Contact:
Re: Depth sharing Design
I'll be looking at it this weekend (I'm taking an exam today and this saturday)
Cheers
Cheers
-
- Greenskin
- Posts: 110
- Joined: Sun Dec 04, 2005 5:17 pm
- Location: Russia
- x 5
- Contact:
- dark_sylinc
- OGRE Team Member
- Posts: 5296
- Joined: Sat Jul 21, 2007 4:55 pm
- Location: Buenos Aires, Argentina
- x 1278
- Contact:
Re: Depth sharing Design
Thanks! I hope they went ok!!!kornerr wrote:Thanks in advance (Good luck with the exams!)
Quite a bug you've discovered. Turns out FBOs weren't using stencil buffers at any time! Fixed in trunk (GL; GLES & GLES2 Render systems were being affected) D3D rendersystems were fine.
Thanks for the bug report.
Cheers
Dark Sylinc
PS. Took me more time to get CEGUI working than fixing the bug itself...
-
- Greenskin
- Posts: 110
- Joined: Sun Dec 04, 2005 5:17 pm
- Location: Russia
- x 5
- Contact:
- boyamer
- Orc
- Posts: 459
- Joined: Sat Jan 24, 2009 11:16 am
- Location: Italy
- x 6
Re: Depth sharing Design
This is nice feature,
I want to ask you if this featuer is included, its possible to bind depth texture to shader?
I mean if its possible to create Depth stencil texture D16 or D24X8 format and bind it as SetDepthStencilSurface during rendering of scene and after that use if as depth texture in shaders?
Or vendor hack is necessary for this?
http://aras-p.info/texts/D3D9GPUHacks.html#depth
Thanks,
I want to ask you if this featuer is included, its possible to bind depth texture to shader?
I mean if its possible to create Depth stencil texture D16 or D24X8 format and bind it as SetDepthStencilSurface during rendering of scene and after that use if as depth texture in shaders?
Or vendor hack is necessary for this?
http://aras-p.info/texts/D3D9GPUHacks.html#depth
Thanks,
- dark_sylinc
- OGRE Team Member
- Posts: 5296
- Joined: Sat Jul 21, 2007 4:55 pm
- Location: Buenos Aires, Argentina
- x 1278
- Contact:
Re: Depth sharing Design
Hi!
No, it's not supported.
I remember someone wanted to implement it (was it sparkprime? I think it was in this thread) but AFAIK nothing was really done.
And yes, to implement what you're looking for, we need those hacks in directx 9.
It's natively supported in dx +10 (although Ogre doesn't use it)
No, it's not supported.
I remember someone wanted to implement it (was it sparkprime? I think it was in this thread) but AFAIK nothing was really done.
And yes, to implement what you're looking for, we need those hacks in directx 9.
It's natively supported in dx +10 (although Ogre doesn't use it)