Skip to main content
gamedev.net
🔒 Locked

environment mapping

Started by genesys 2 replies 450+ views
Original Post
genesys
genesys
hi! i want to do reflections with environment mapping by using glTexEnv. but how must the texture look to create the right effect? i tried latitude/longitude and 6face cross . . . but it's never right! i hope you understand, what i mean :) Thx! //edit: here you see what it's looking like with this texture: [Edited by - genesys on January 21, 2006 3:58:26 AM]
Krall
Krall
If you're using a spheremap your texture needs to look something like this:

genesys
genesys
oooh . . . so it must be of "probe" type? really? ok thx - i'll try that :)
Braden
Braden
Here is a Nehe tutorial that might be of some help:

http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=23

Regards,Braden

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.