To clarify a bit here is some code:
int obj = 1;
dbLoadObject ( "DemoMan.x", obj );
dbScaleObject ( obj, 500, 500, 500 );
int grass = 10;
dbLoadImage ( "grass.png", grass );
int effect = 1;
dbLoadEffect ( "Color.fx", effect, 0 );
int limb = 17;
dbScaleLimb ( obj, limb, 200, 200, 200 ); // just to know if it's the right limb
// Texture
dbTextureLimb ( obj, limb, grass );
// Effect
dbSetLimbEffect ( obj, limb, effect );
Maybe
somebody can try it (put it in a plain GDK app) and tell me if it's working!
Please! (very important for me)
Sample media is attached (put it in same folder as Main.cpp). The shader effect should just color the limb red.
Now the plot thickens, the fps decreases, and the awesomeness goes through the roof.