It has been crazy busy over here! About two weeks ago we had our IGF submission, we of course killed it. The team worked hard to prep a ton of things that we needed to get done such as a trailer, level dressings (and design for that matter), and kits of stuff to be turned in. Ill Be linking to all this stuff at the bottom of this post.
The major things i worked on for the submissions was of course my shaders, you can call me shader man… except for that being exceptionally lame. I also worked to get the premonition effect we had in the game in and working. and dressed levels.
Ill be doing a more in depth post on the shader but ill just go over it a little bit here. The effect this uses is like the Promethean vision ability from halo reach, sans the screen distortion ripples. This effect is achieved in 4 parts. First is the Sobel edge, this is just like any sobel effect I’ve done in the past (check older posts) but this time the edge is white. This was really easy to pull off, to get the original line i ran edge detection threw a power, using the edge detection as the base, and feed in a parameter in as the exponent. this gave us the black like. Higher the exponent the thicker the line. To get it white i just feed the Exponent into a OneMinus node reversing the coloring, Tada white!
The next part was adding the color overlay to the world. This was done by taking the Scene color, masking it with a color, lerping that color back together with a desaturated scene color, and feeding a parameter to help control the alpha. This made the screen blue, the whole screen. The challenge here was to make it ignore things like the sky box… or anything else we wanted didn’t want to be blue. Here we come to the third part, an exclusion. Things get a little technical here but this allowed me to be able to check a box to tell the shader to ignore or apply its self to different materials.
The forth and final part is adding if the feint scan lines that are seen in the blue. The cool part about this one is the texture used to make those lines is only about 5 by 5 pixels, but by using texture coordinate controls was able to make them fit in prefect. The motion you see is made by panning the texture up pretty slowly, when it was faster is made you feel sick.
As long as all that took level dressing for this games feel like it takes much longer. Each level i dressed took about 2 days to dress. Over all this sint too bad. Our art style lends its sellt to very big buildings and opens spaces so there’s not too much tweaking or decorating major areas that need to be done. With the pace that out game moves at levels have to be actually quite large.
The team worked very hard to reach this point and we all took a much needed break! next time well take a closer look at the shader… for real this time though.