Re: Porting RoomTiny to Jogl
Posted by
elect on
Aug 11, 2014; 7:39am
URL: https://forum.jogamp.org/Porting-RoomTiny-to-Jogl-tp4032722p4032761.html
OMG I found it!!
the fu''ng error was
gl3.glDrawElements(GL3.GL_TRIANGLES, indices.size(), GL3.GL_UNSIGNED_INT, ibo[0]);
instead
gl3.glDrawElements(GL3.GL_TRIANGLES, indices.size(), GL3.GL_UNSIGNED_INT, 0);
I wrote in the last field, offset, the value of the ibo index.. shame on me
Now the "only" problem is the lighting on the solid geometry..