Skip to content

An example of how to map parts of a single texture to the sides of a cube on iOS with OpenGL ES and GLKit

Notifications You must be signed in to change notification settings

bestimmaa/ios-texture-cube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Texture each side of a cube with a single texture file

A demo implemented on iOS using OpenGL ES 2.0 and GLKit Framework

The basic idea is to use this single texture:

texture image

to texture each side of the cube:

rotating cube gif

About

An example of how to map parts of a single texture to the sides of a cube on iOS with OpenGL ES and GLKit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published