Streched Image on Tutorial

I just ran through the HelloPhysics tutorial (, and I’m getting this weird stretched image issue.

Imgur: The magic of the Internet

As you can see, the floor tile is fine in the bottom right hand corner, but gets stretched to the left and top, and there’s a huge section missing.

I’m wondering if it’s an error in the tutorial, or if I’m missing something.



You must have missed some step, this line in initMaterials() makes the texture repeat instead of stretch:


D’oh >_< you are correct! That’s what I get for being lazy and doing some copy and paste.