Wed Jun 19, 2019 3:09 pm
I believe it's because voxels don't have normals which are used by SSAO shader.
How to reproduce:
- Download and run any wad with voxels.
- Toggle Ambient Occlusion on/off while looking at voxel model(s).
Possible solution: render voxel models with invalid normals, e.g. vec3(0,0,0) or vec3(0,0,-1), and filter out pixels with such normals in SSAO shader.