Homebrew Others Homebrew game Libnds: making the ground/floor

  • Thread starter Thread starter ivodesmedt
  • Start date Start date
  • Views Views 1,122
  • Replies Replies 0

ivodesmedt

Member
Newcomer
Joined
Aug 28, 2022
Messages
7
Reaction score
1
Trophies
0
Age
26
Location
Belgium
XP
63
Country
Belgium
Hello,
How does one make a (large) ground plane in libnds? I have tried making a very large GL_QUAD at height y=0 like this:
C++:
glBegin(GL_QUADS);

glColor3f(1, 0, 0);

glVertex3f(-30, 0, -30);
glVertex3f(-30, 0, 30);
glVertex3f(30, 0, -30);
glVertex3f(30, 0, 30);

glEnd();
But it does not look good. Can anyone offer an alternative or a suggestion?
Thanks in advance
 

Site & Scene News

Popular threads in this forum