GSoC/GCI Archive
Google Code-in 2012 Copyleft Games Group

PySoy: Textured.glowmap

completed by: Shomiron Ghose

mentors: Amaury Medeiros, Arc Riley, Tony Young, David Czech, Mayank Singh

A "normal" Texture is set to soy.materials.Textured.colormap such that it changes the base colors (ambient, diffuse, specular) - those colors only reflect light available. In contrast, when a texture is set to soy.materials.Textured.glowmap it adds light, showing even in darkness, which is highly useful for a multitude of effects.

Modify the soy.materials.Textured rendering process such that a glowmap texture can be used with or without a colormap texture. Working code for this can be found in our old pysoy/src/materials/Textured.pym class (pre-libsoy).

Update or write an example in Python which uses a glowmap with flickering or fading light to really show the contrast.

While working on this task you should join and remain in #PySoy on Freenode to get help, feedback, and guidance from mentors and other developers. Code updates which may affect your work are also announced here as they happen. This is especially important for this task as other GCI tasks may be worked on to modify the same function.

When you've done, commit your work and post the resulting changeset url to this task.