Advertisement Jump to content
Sign in to follow this  
derek7

if I have many same object .

This topic is 4977 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

but these object have different position.I mean matrix is different. so I can render them in a draw call?if I issue a draw call for every object,it will too expensive.

Share this post


Link to post
Share on other sites
Advertisement
If you only have the positions in a matrix then you need to apply the matrix and draw the object. If you modify the actual object positions in the VB then you can do it in 1 draw call.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!