Welcome back! Today I'm gonna be talking about the material and shader manipulation I did in a game currently in development called Purrpulsion.
We needed a way to have the ship blink in and out and so my initial thought was to change the alpha value of the material in and out until the ship fell off the screen. The problem is that we are using a toon shader on the rockets in the game and the built in toon/outline shader doesn't actually have an alpha value, so I opened the shader up and added the code for an alpha value.
One problem to fix with this is that the meshes are seperated on the ship and so they overlap causing the alpha to be darker at the overlapped places. It shows the ships different parts which is not what we want. The way to fix this is to go into Maya or whichever 3D modeling software you use and to combine all the meshes together so that when imported to Unity it will be one solid piece.
If you have any questions leave them down below and I'll get back to you. I love messing with random material properties and am currently working on something fun for the Asset Store!
For more information on my games and what I've done check out my portfolio website:
http://brendandev.com/
You can also check out my facebook page and twitter for information on my videos and game development work:
https://www.facebook.com/pages/Frosty...
/ brendangamer