We need a processing function/class for a 32 bit ARGB bitmap.
Given a flat single colored base shape (at least a circle and a rectangle) the function should perform an emboss like shading.
Light Position: 0 to 359 degrees
Depth: 0 to 1
Softness: 0 to 1
Lightning Intensity: 0 to 1
Edge Type: Straight, Button, Plateau
Light Type: Light Only, Shadow Only, Light&Shadow
The algorithm must be written in platform independant C++ and must operate in RAM (software only -no hardware acceleration) and should render fast enough on current machines to give at least a framerate of 30 FPS. No application or GUI is needed, just the filter as a C++ class.
See the appended screenshot from the Adobe ImageStyler application where this algorithm has been implemented to get an idea.