On Wed, 2009-07-22 at 10:11 +0200, gabor papp wrote:
> hi,
> 
> i was searching for a way to do environment mapping in fluxus, and found 
> that it is done by calculating the texture coordinates manually 
> (http://www.flickr.com/photos/7905...@n07/1789111615/).

That's actually a cubemap - which is a hardware thing (internally it's
glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_TEXTURE_CUBE_MAP)) and
six textures.

> i quickly added a way to do it from hardware. let me know what you think.
> http://www.flickr.com/photos/gaborpapp/3744926221/
> http://www.flickr.com/photos/gaborpapp/3745723018/

Spherical mapping is good to have too, particularly for the blobbies...

cheers,

dave


Reply via email to