• Create Account

### #ActualSponji

Posted 18 November 2012 - 04:05 AM

I think your glVertexAttribPointer call is wrong, the size should be 3 instead of 6.
glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0, (void*)0);

### #2Sponji

Posted 18 November 2012 - 04:05 AM

I think your glVertexAttribPointer call is wrong, the size should be 3 instead of 6.
glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0, (void*)0);

### #1Sponji

Posted 18 November 2012 - 04:04 AM

I think your glVertexAttribPointer call is wrong, the size should be 3 instead of 6.
glVertexAttribPointer(0, 6, GL_FLOAT, GL_FALSE, 0, (void*)0);

PARTNERS