This function is quite similar to transparency introduced in the previous chapter. In order to make the material self-illuminated you have to open Materials Panel in Blender and navigate to Shading section. There you will find a slider called Emit. See the screenshot below:
By default Emit is set to 0.000 which equals to no self-illumination in Dark Engine. Emit slider in Blender spans the range of 0.000 to 2.000. Dark Engine accepts values from the range of 0 to 100. Dark Exporter will react to values of Emit within the range of 0.010 to 1.000. Only two decimal places are important. Thus Emit value of 0.100 will be translated to ILLUM 10 in .E file. Value 1.000 in Emit field will be translated to ILLUM 100 in the intermediate file (.E). If the value of Emit is bigger that 1.000 (up to 2.000) it will get interpreted as ILLUM 100 too.
Self-illumination debugging
Blender console reports self-illuminated materials in the following way:
You can see here that material named Bulb has specular shader of PHONG, transparency set to 68 and self-illumination equal to 22.