Project Overview
I created this Flash toon shader to experiment with VFX graphs and HLSL in Unity.
My Contributions
I created a custom paint texture in Procreate to mimic the shading on the Flash's body. I then implemented toon-shading by taking into consideration these 3 factors:
1. Factoring in the contribution from the Directional Light.
2. Exposing threshold values for highlights VS shadow areas.
3. Using a hatching texture to define a mid-tone between highlights & shadows.
Then, I created a procedural electricity shader, using VFX graphs in Unity an mapped it onto the Flash object. I attempted to render outlines on the lighting assets as a Sobel Post-Process using Depth and Normal Buffers.
Finally, I applied post-process shading to create the speed vignette lines, and the long-exposure effect on the background of the Flash. You can check out the code/Unity files here.