Homebrew Others Homebrew game Libnds: making the ground/floor

ivodesmedt

Member
OP
Newcomer
Joined
Aug 28, 2022
Messages
7
Trophies
0
Age
24
Location
Belgium
XP
43
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

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=dZbUuSmFgMo