|
Re: trying to get ssao working, too
[Re: PHeMoX]
#179809
01/25/08 02:42
01/25/08 02:42
|
Joined: Jun 2004
Posts: 655 to your left
BoH_Havoc
User
|
User
Joined: Jun 2004
Posts: 655
to your left
|
wow very impressive shots! Quote:
dunno if using a 32 bit floating point texture for the depth map could be the solution, since i cant get it to work.. BMAP* depthMap = "#800x600x14"; is always plain white
Did you change your shader to only use the .r channel of the texture? A 16 or 32Bit fp texture only renders to the red channel as far as i know.
keep it up, really impressive!
[edit] Quote:
Trick seems to be to render to the alpha channels instead of rgb channels... it's 8bit per color channel vs. 24Bit alpha channel apparently:
Quote:
ello: The trick is to render to depthmap to the alpha channel and not the rgb channel. The alpha channel is 24Bit whereas the rgb channels are 8 bit each. You might want to have a look at this paper: http://ati.amd.com/developer/gdc/Scheuermann_DepthOfField.pdf />
Cheers
At the time i wrote this in my DoF thread i really thought that would be the case. But i think i was wrong. I read somewhere that an alpha channel always is 24Bit. However when you look at it that can't be the case. eg 32bit tga = 8Bit Red + 8Bit Green + 8Bit Blue + 8Bit Alpha ... 8+8+8+8 = 32. Can someone confirm this?
Last edited by BoH_Havoc; 01/25/08 02:51.
|
|
|
Entire Thread
|
trying to get ssao working, too
|
ello
|
01/24/08 21:01
|
Re: trying to get ssao working, too
|
Inestical
|
01/24/08 21:23
|
Re: trying to get ssao working, too
|
ChrisB
|
01/24/08 21:33
|
Re: trying to get ssao working, too
|
ello
|
01/24/08 21:37
|
Re: trying to get ssao working, too
|
xXxGuitar511
|
01/24/08 22:44
|
Re: trying to get ssao working, too
|
JibbSmart
|
01/25/08 00:47
|
Re: trying to get ssao working, too
|
xXxGuitar511
|
01/25/08 01:08
|
Re: trying to get ssao working, too
|
PHeMoX
|
01/25/08 02:12
|
Re: trying to get ssao working, too
|
BoH_Havoc
|
01/25/08 02:42
|
Re: trying to get ssao working, too
|
JibbSmart
|
01/25/08 02:43
|
Re: trying to get ssao working, too
|
ello
|
01/25/08 07:15
|
Re: trying to get ssao working, too
|
Excessus
|
01/25/08 10:23
|
Re: trying to get ssao working, too
|
Machinery_Frank
|
01/25/08 10:35
|
Re: trying to get ssao working, too
|
Ready
|
01/25/08 10:37
|
Re: trying to get ssao working, too
|
ello
|
01/25/08 11:09
|
Re: trying to get ssao working, too
|
bstudio
|
01/25/08 12:22
|
Re: trying to get ssao working, too
|
JibbSmart
|
01/25/08 12:47
|
Re: trying to get ssao working, too
|
BoH_Havoc
|
01/25/08 12:59
|
Re: trying to get ssao working, too
|
ello
|
01/25/08 13:01
|
Re: trying to get ssao working, too
|
Slin
|
01/25/08 13:18
|
Re: trying to get ssao working, too
|
BoH_Havoc
|
01/25/08 15:28
|
Re: trying to get ssao working, too
|
frazzle
|
01/25/08 19:59
|
Re: trying to get ssao working, too
|
Excessus
|
01/25/08 20:28
|
Re: trying to get ssao working, too
|
frazzle
|
01/25/08 21:04
|
Re: trying to get ssao working, too
|
JibbSmart
|
01/25/08 22:14
|
Re: trying to get ssao working, too
|
frazzle
|
01/25/08 22:52
|
Re: trying to get ssao working, too
|
JibbSmart
|
01/26/08 00:15
|
Re: trying to get ssao working, too
|
ello
|
01/26/08 12:57
|
Re: trying to get ssao working, too
|
frazzle
|
01/26/08 17:00
|
Re: trying to get ssao working, too
|
JibbSmart
|
01/26/08 23:08
|
|
|