Original Post
hi there. im trying out the SSAO shader from www.gamerendering.com and i'm having some problems on the result image. back faces or hidden geometry show up and look really weird. i have transformed the normals by the matViewIT matrix and i also have transformed to screen space by the WVP matrix, either way i always get the same problems.. the target i render into to get normals and depth are set to compare_R_to_texture, its a 32bit float texture. have a look at this screens.
steps im doing: render scene to texture and return screen-space normals in RGB channels and normalized linear depth at A channel. pass that texture and a noise texture to the SSAO shader and thats the result is that image there. any ideas? thanks in advance
steps im doing: render scene to texture and return screen-space normals in RGB channels and normalized linear depth at A channel. pass that texture and a noise texture to the SSAO shader and thats the result is that image there. any ideas? thanks in advance