Adding a textureing example and bug fix for polygon shape