Now I am rendering thousands of shelves, with products on each layer, and the rendering process is quite slow. How should I optimize it?
zhw1992 opened this issue · comments
zhw1992 commented
Lunci commented
Try to use instancing as much as possible to reduce draw calls. Use lightweight materials such as diffuse material if you don't need realistic lighting. Simplify model mesh to reduce number of polygons.
zhw1992 commented
@holance
Could you please provide a demo that reduces the number of drawing calls?
Lunci commented
Source/Examples/WPF.SharpDX/InstancingDemo
Lunci commented
Only available in SharpDX version