cpreh / spacegameengine

An easy to use game engine written in C++
Boost Software License 1.0
7 stars 2 forks source link

Support glTexGen #82

Open pmiddend opened 12 years ago

pmiddend commented 12 years ago

With glTexGen, you can let OpenGL generate texture coordinates for you. This is useful if the coordinates aren't static, but depend on the viewer, for example. Two use-cases:

For shadow mapping, you probably need some other extensions, so that would involve more work. Reflection mapping would be nice, but you can easily (portably) do this with shaders.