Hi,
I'm in need with a WhiteShadingBitmapMaterial but due to some perf, I
would like to use a kind of WhiteShadingBitmapMaterialCache :
the best thing would be to render triangle depending on light source
once, then use the result as BitmapMaterial.
This could be a real extend to shadingmaterial for anyone who needs to
create a shading depending on light but don't need to move the object
and light moreafter.

So I've tryed to implement it as a BitmapContainer but get problem to
integrate the light parameter or embed a CenterLightingMaterial.
I've tryed to play ith the renderTriangle method of the
WhiteShadingBitmapMaterial, I've also tryed some other things it would
be a shame to reveal (as they were mainly drived by desperation).

Would have someone a solution, or Fabrice do you think they're better
ways to achieve this (I'm sure you do, but would you tell me ?).
Thanks

Reply via email to