@AndreyVK_D3D That is the working SSAO code. I have no problems with that code. The code I'm having trouble with is https://github.com/sjhalayka/opengl4_stlview_shadow_map
Shadow map and ambient occlusion at the same time
Andrey, I kind of figured it out. Except now, it only draws the first frame properly.
taby said:
it only draws the first frame properly.
good news!, also, try to separate you code: Create opengl objects VAO, shaders, VB, IB in separete function. do not create it during frame like as
3DGraphics,Direct3D12,Vulkan,OpenCL,Algorithms
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement