Posted March 14, 2023 by RasahAlune
Well hello there again!
The last week has been filled with technical struggles, prototyping, art bible work, and writing down our GDD. So lots of work, if you can imagine. But we have some results to show you all!
This week I updated the main art style shader for the game. I went for a kind of toon shader with a customisable outline. I had a lot of help from tutorials and online research to achieve this final result. The shader itself consists of two different shaders working together to achieve the current look.
The first part of the shader is the "toon"-part. It works via the post-process volume in unreal to update how the lighting affects objects in the world. It creates a harder contrast between shadows and lit parts and it can be adjusted to our preferences.
The second part is the outline shader which uses depth and normals to detect the edges of the objects. This shader also uses the post-process volume but is only assigned to selected objects via the custom render depth pass. Furthermore, it uses the custom depth stencil value so you can give selected objects a different outline color.
Another artist worked on 2 technical shaders; a wall shader that gets invisible when the player gets near the wall so the camera can view the player through it and also a fog of war shader prototype.
The programmers this week worked on getting the Guard AI and the Hacker gameplay in.
For the Hacker gameplay, we worked out the functionality of binding a unique, visible ID to hackable objects, a command input that gets parsed and cleaned on pressing enter and two simple command promts: 'ID' 'activate/deactivate' that will do just that, activate or deactivate a hackable object. This will ofcourse expand on later iterations, but for now this serves as the groundworks for the hacker mechanics and will very soon be implemented in a gameplay prototype.
The AI was implemented into the level design for testing with basic behaviors like Patrol path, guard on one spot and pursuit player. At the moment it can only detect the player with vision. Later on we plan on adding more behaviors like
The AI system is very basic at the moment, but we'll make it more advanced, customizable and better in the future!
Gotta skitty, see you next week!