Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Good game, enjoyed playing it. No issues really, nothing to complain about. How did you manage to render the black outline around the objects though? Is it some shader which adds black when there's a huge gap in depth buffer or... I just don't know how such thing is done. Especially for web where there's no geometry shaders and things are generally trickier due to older opengl specification.

(1 edit)

We are glad you enjoyed the game! Linked below will be the video that we used to implement the black lines in our game. The video might be a little out dated and you may need to do some tweaking. We would be happy to make a detailed post about how exactly we got it to work, if this is something a lot of people are curious about :) 

Thanks. I see, so it's a clever trick with  backfaces. They need to be bigger than actual faces to be visible though, I wonder how the shader does that, especially since it works in web. Not sure I would understand the answer without a huge headache though, implementation details can be overwhelming.

Honesty we don't know how the renderer does it aswell, we just put outlines on our blender models and let unity do the rest 😆

heres the tutrorial!

https://johnng.itch.io/need-for-sweet/devlog/178952/how-to-create-outlines-for-3... 

Thanks