Procedural city lights shader

Hello everyone, this is a shader aimed at generating city lights in Cycles.
The picture below is an example of what can be done.

/uploads/default/original/4X/4/6/0/4603258681ca0efabe4613084b5cf88e3c86fb9b.pngstc=1

To use it, first grab the .blend file containing the shader: City Lights Shader.blend (679 KB)
In your project, add a sphere around your planet, make it a tiny bit bigger than the planet itself and add a material to it. Then, append the shader with the following path: Append > City Lights Shader.blend > Material > CityLightsMaterial. Finally, in the Node Editor, add the shader with the following path: Add > Group > City Lights.

The following zip file contains the complete manual, as well as the .blend file with the example and the above picture in high res: City Lights Shader pack.zip (1.15 MB)

Happy blending !

Attachments