I’m looking for a surface shader which causes the base of a model like a skyscraper to be permanently coloured. The colour then fades out as you go up the skyscraper. It’s supposed to look like street lights lighting up the base of a building. I think some kind of gradient could work, or maybe a UV texture but I’m not too good with shaders yet. A similar effect is seen in the last shader in these examples http://docs.unity3d.com/Documentation/Components/SL-SurfaceShaderExamples.html, except I don’t need the top of the building to be lighted.
you dont need any special shader for that.
What you need is careful positioning of lights in your scene and do lightmapping according to. Unless, you want this lighting to be dynamic though.
I don’t really have the will power to place lights everywhere. A shader would remove the need for that. I don’t need the light to be dynamic.
Is it possible to write a shader that draws windows on buildings? Maybe like colouring random pixels on it yellow or white…?