@Alkher wrote:
Hi !
I'm working again on my particles engine (instanced).
For instance, I only send the center of the billboard (camera aligned), as a Vector3.
When I set the number of particles to 100000, I have Windows' taskbar flashing, and a message telling my nvidia card has recovered from a problem.When I set the number lower than 50000 there is no problem.
My nvidia drivers: 376.67
Windows7.I tested with ShaderModel 4 and 5. Same result.
I checked https://msdn.microsoft.com/fr-fr/library/windows/desktop/ff819065(v=vs.85).aspx
And it saysDraw or DrawInstanced vertex count (including instancing) D3D11_REQ_DRAW_VERTEX_COUNT_2_TO_EXP (2³²)
DrawIndexedInstanced vertex count (including instancing) D3D11_REQ_DRAWINDEXED_INDEX_COUNT_2_TO_EXP (2³²)Same thing here with SM4
https://msdn.microsoft.com/en-us/library/windows/desktop/ff476876(v=vs.85).aspxWhat about MonoGame ? I'm quite low on the vertices count compare to 2^32... Even when counting the 50000 centers*4 vertices per particles.
Posts: 5
Participants: 3