🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Shadow map and ambient occlusion at the same time

Started by
12 comments, last by AndreyVK_D3D 3 years, 7 months ago

@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

Advertisement

Andrey, I kind of figured it out. Except now, it only draws the first frame properly.

@taby

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