Waking up the sleeping code devils :P
Posted: Mon Aug 19, 2013 4:18 am
Phun aside sikkpin asked my help getting SSAO to Work, but before i lead him into even darker reaches I suggested id ask here, maybe MH or barnes can give him a hint of what would be needed.
From his post at doom3world.
From his post at doom3world.
In return i bet he would probably help with any shader related stuff you might be fighting withWhat are the chances of getting you to help me with a problem that I can't seem to figure out. That problem being generating the ao buffer before the lighting pass. Since I don't know enough do it from scratch (draw a fullscreen quad, bind the shader and such, and then draw and capture), I'm forced to rely on the functionality that's already there (DrawStretchPic(),EmitFullScreen(),RB_STD_DrawShaderPasses(), etc.) but no matter what I do, I just can't get it to work.
I mean, ssao is already in there and fully functional, but since the ao texture is created after the lighting pass during the post process phase but passed to the lighting shaders, it's always a frame behind, which of course doesn't look good. Other than the surface sorting issue, which I can live without, proper ssao is the only thing left rendering-wise that I really need done.
So what do you say? I'll be in your debt and will do anything you need that's in my power to return the favor.
Cheers
Sikk