I've been working on tweaking the terrain shader for Black Ice (a cool Tron-like FPS looter/shooter that I've been privileged to be able to contribute a few assets to) - adding some visual features and giving the level designers more controls to fine tune the look of certain areas in the game.
Garrett Cooper, the creator/developer of the game, has kindly allowed me to share the shader with other patrons, to play with, take apart and use in your own creations.
A new addition to the terrain shader is you can now control the colour gradient of the various elements (grid pattern, edges, outlines) based on distance to the camera. The grid uses world space Triplanar mapping, whereas the internal edges uses traditional UV mapping - so if you want to use the internal edges, your mesh will have to be mapped appropriately.
I've also added an animated parallax effect to move the grid lines 'inwards' over time. I've cranked up their speed and brightness in the above gif to make it more obvious.
Included in the bundle is a slightly tweaked Silhouette/Glow shader, which I'm using to add some glows behind the distant mountains, a few light shafts and an aura around the nearby teapot. I'm not sure if this will also find its way into Black Ice, but I thought it looked cool so I popped it in there anyway.
This is likely still Work in Progress and I'm sure I'll be revisiting and tweaking the shader in the future.
Let me know your thoughts, or if you have any questions or issues with the shader. Thanks again for the support!
Also, CHECK OUT BLACK ICE ON STEAM!