View Full Version : blending and light
zaraza
07-12-2004, 03:43 AM
how can i make one texture 'disappear' when it's exposed to light?
i'm trying to make earth (2 spheres) with 2 textures, one for day side and one for night side...
ZbuffeR
07-12-2004, 12:40 PM
Have a look at code of the Earth demo of the GLScene scenegraph :
http://sourceforge.net/project/showfiles.php?group_id=29749&package_id=67802&release_id=170007
It is a very nice one, featuring the effect you describe.
zaraza
07-13-2004, 02:55 AM
thanks, this is it...
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.