Website powered by

KZSF stormgracht flood shader

I don't have much to show from shader tasks on KZSF, I was mostly lighting focused on that project. One thing I do have is the custom deferred flood shader that was applied to the whole level once the water had come through. Please note that the water flood itself was implemented primarily by Piran Tremethick with Oli McDonald doing effects placement.
The flood shader was a essentially a huge cube that was applied to the middle channel of the level, there was a shader parameter to make it off by default. Once the flood had come in it wrote out new diffuse, roughness and reflectance values for everything under it to make the level look recently wet. It then gradually dried up based on a precalculated gradient mask which I had set up to make exposed areas dry first.
Other fun shaders I did for this level was a heat haze (UV wibble) effect for the skybox and a valve dial next to the flood button that filled up as the flood system recharged.

Here the flood effect is at full strength. The flood warning lights are animated to flash a lot and be bright red to signify there's a lot of danger.

Here the flood effect is at full strength. The flood warning lights are animated to flash a lot and be bright red to signify there's a lot of danger.

Here the flood is beginning to dry up. The flood warning lights are yellow to signify the flood system is regaining pressure

Here the flood is beginning to dry up. The flood warning lights are yellow to signify the flood system is regaining pressure

Here the level is mostly dried up. The flood warning lights are green signifying the level is ready to be flooded again.

Here the level is mostly dried up. The flood warning lights are green signifying the level is ready to be flooded again.

In this shot you can see the surround that I baked down, everything above the mid wall is textures plus a heathaze effect. I also did all the shader rotation maths for the little radial flood dial which was actually quite fiddly.

In this shot you can see the surround that I baked down, everything above the mid wall is textures plus a heathaze effect. I also did all the shader rotation maths for the little radial flood dial which was actually quite fiddly.

KILLZONEā„¢ SHADOW FALL flood video