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

PySoy: Bumpmap Primary Combiner

completed by: Samuel Kim

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

When bumpmapping is turned on and operating in single-pass mode, the primary colors (ambient, diffuse, specular, emissive) are overridden. In multi-pass rendering this is resolved by blending the second pass, however, in single-pass we'll need to use texture unit to apply the primary colors post-bumpmap.

This step has already been added, but the code to actually activate and deactivate the primary combiner texture isn't in place. This may require a dummy 1x1 texture as a placeholder or other "tricks" to get it working.

You should be able to Textured('red', bumpmap=b) to get a red tinted bumpmap and changing the color should only change the tint.

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.