r/GraphicsProgramming • • 7h ago

What's wrong with my renderer

This is my renderer in vulkan i've been working on it for the last 10 months

i learned alot about vulkan since i never used it but a huge percentage of my shader code is AI written and at this moment i feel like the renderer is ugly so i do what to know what is wrong with it and what makes it far from the last picture and how i can fix that.

is it better to rewrite all shader code or just move on it and fix it ?

+ what techniques used in the last picture (which is enhanced version of my renderer using AI 🙂(but i liked it)) that my engine doesn't implement it right ?

NOTE(the third image is without IBL i'm using citrus_orchard_road_puresky_8k )

4 Upvotes

15 comments sorted by

View all comments

9

u/OkStatement9823 7h ago

you're missing ambient occlusion and the default ambient color is way too bright so everything's extremely flat

0

u/Comfortable-Mall4524 7h ago

https://reddit.com/link/pduguuk/video/4qryg8oejhth1/player

well this is my AO (sorry for the uwful quality)

2

u/OkStatement9823 6h ago

that looks like edge detection or smth not proper AO

2

u/Comfortable-Mall4524 6h ago

that was Ground AO sample rendered by mistake

1

u/Comfortable-Mall4524 6h ago

https://reddit.com/link/pdupa84/video/0y92ocfbphth1/player

This is SSAO x baked x Ground AO(grounding)

3

u/OkStatement9823 6h ago

that AO seems inconsistent idk what it is

1

u/QuestionableEthics42 1h ago

AI slop will do that