I Made a Game Entirely Within a Shader (almost) | Game Dev Challenge
Wishlist Farewell North on Steam
π
Join the Discord
π
Source Code
π
I love working on shaders, itβs my favourite part of developing Farewell North, but thereβs so much more that goes into a game. Does there have to be though? Letβs see if we can make an entire game inside of a single fragment shader, and if not, how close can we get?
Iβll be using the Unity game engine for this challenge, but relying on as little as possible to make this work. I create my own custom render pipeline rather than URP or HDRP, and handle physics, AI, and player input all within the shader. Weβll also implement some lighting and shadows, and even audio by generating a steady tone in Audacity and importing it to Unity, and controlling its volume from the shader.
Credits
π Collision Detection code adapted from Jeffrey Thompson:
π Farewell North Original Score by John Konsolakis:
Game Overview:
Restore color to the desolate islands of Farewell North, an open world journey where you play as a collie traveling with his owner. Explore land and sea, uncover hidden paths, evade monsters, and free wildlife to bring color back to the world while revealing an emotional story about saying farewell.
Twitter:
Website and Email Newsletter:
0:00 I really like shaders
0:14 Project setup
0:48 Shader βHello Worldβ
1:15 What game are we making?
1:25 Fragment shader overview
2:00 Shader setup
2:28 Visuals
3:01 Physics
3:55 Saving State
6:12 Gameplay
6:58 Accessibility
7:06 Audio
8:18 Fixing Windows Version
8:32 Outro
#devlog #gamedev #gaming #videogames #indiedev #indiegame #unity #unity3d #madewithunity #shaders #shader #challenge