Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked

iPhone OpenGL ES 2.0 vertex array problem

Started by polyfrag Jun 3, 2013 at 1:03 AM 0 replies 1.1k views
Original Post
polyfrag
polyfrag

This code works fine on Windows and for some reason the heightmap is rendering correctly, but the models aren't. Any ideas?

I checked the loaded models and they seem ok, number of vertices, number of joints, number of groups and min and max of model are ok. But it looks like there's some corruption. I seem to be passing the data correctly. VBO is off.

photo_zps9771ecf6.jpg

photo1_zps65550130.jpg

polyfrag
polyfrag

Oh, it was a shader mistake. Fixed.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.