Advertisement

Shadow map and ambient occlusion at the same time

Started by November 08, 2020 10:09 PM
12 comments, last by AndreyVK_D3D 4 years, 2 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

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

Advertisement

@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