WPF Spotlight don't work with VertexColorMaterial and with Ambient light model colors are flat. Setting ShowCameraLight of TargetPositionCamera to "Always" fix the illumination but I want a custom illumination with spotlight instead of default one.
VertexColorMaterial currently supports only up to 3 directional lights and an ambient light.
Support for other point and spotlight will be added in the next version of DXEngine. I will try to add that next week and will send you a pre-release version when this is implemented.
Thank you very much, this is a very important improvement for us.
Do you think that pre-release could include also "PixelEffect to VertexColorMaterial" improvement?
Thanks
VertexColorEffect that is used to render VertexColorMaterial has just been improved so that it supports PointLights and SpotLights. This functionality will be available in the next version.