Homebrew GPU_DrawElements

  • Thread starter Thread starter elhobbs
  • Start date Start date
  • Views Views 1,365
  • Replies Replies 6

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,071
Reaction score
600
Trophies
1
XP
3,708
Country
United States
I have been trying to use GPU_DrawElements similar to the usage in portal3ds. The difference is that I am trying to use GPU_TRIANGLES instead of GPU_UNKPRIM. The issue that I am experiencing is that only half of the triangles are rendering. I am using the most current ctrulib (from git) and devkitarm. Has anyone else run into this issue?
 
Forgot to mention I already did that. If I offset the index buffer by 3 then it renders the alternate triangles.
That sounds like you setup the vertex attributes incorrectly, namely the number of attributes per vertex.

It would be helpful to see some code.
 

Site & Scene News

Popular threads in this forum