Homebrew GPU_DrawElements

elhobbs

Well-Known Member
OP
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,029
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?
 

Jim_e

Well-Known Member
Newcomer
Joined
Nov 13, 2007
Messages
79
Trophies
0
XP
267
Country
United States
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

General chit-chat
Help Users
  • No one is chatting at the moment.
    LeoTCK @ LeoTCK: yes for nearly a month i was officially a wanted fugitive, until yesterday when it ended