Made a crude AO shader, 150 LOC of lua using lovr github.com/bjornbytes/lov
Conversation
Replying to
..and applied to a simple generative model within my program. there are a few artifacts but is probably good enough for this prototype visualization stage
2
11
pos, norm, colour, ssao, amb, diff, spec, final
GIF
2
1
28
passes and final scene
1
7
with generative tower model
1
9
whoops something went horribly wrong
1
1
6
Anything in particular come to mind? Next steps for me is to put it all into a deferred render pipeline and expose the params, then some FPS and orbit controls then finally back to the actual goal of geo gen
1
1
Show replies
Replying to
Is Lovr related to Löve? That’s what I work with and am also working with 3D. I’ve been wanting to figure out AO myself too but can never find examples that show good enough code. lol
1
1
Replying to
It's in the spirit of Love, but a different system. I was using learnopengl.com/Advanced-Light as a reference, but ended up skipping all the optimisations to keep it simpler.
1
1
Show replies
Replying to
Hadn’t even heard of LÖVR before, sounds interesting as hell. Your end product looks awesome btw
1



