Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

regcombine.h

Go to the documentation of this file.
00001 // regcombine.h
00002 // 
00003 // Copyright (C) 2001, Chris Laurel <claurel@shatters.net>
00004 //
00005 // Some functions for setting up the nVidia register combiners
00006 // extension for pretty rendering effects.
00007 //
00008 // This program is free software; you can redistribute it and/or
00009 // modify it under the terms of the GNU General Public License
00010 // as published by the Free Software Foundation; either version 2
00011 // of the License, or (at your option) any later version.
00012 
00013 #ifndef _REGCOMBINE_H_
00014 #define _REGCOMBINE_H_
00015 
00016 #include <celutil/color.h>
00017 #include <celengine/texture.h>
00018 
00019 extern void SetupCombinersBumpMap(Texture& bumpTexture,
00020                                   Texture& normalizationTexture,
00021                                   Color ambientColor);
00022 extern void SetupCombinersSmooth(Texture& baseTexture,
00023                                  Texture& normalizationTexture,
00024                                  Color ambientColor,
00025                                  bool invert);
00026 extern void SetupCombinersDecalAndBumpMap(Texture& bumpTexture,
00027                                           Color ambientColor,
00028                                           Color diffuseColor);
00029 extern void SetupCombinersGlossMap(int glossMap = 0);
00030 extern void SetupCombinersGlossMapWithFog(int glossMap = 0);
00031 extern void DisableCombiners();
00032 
00033 #endif // _REGCOMBINE_H_

Generated on Sat Jan 14 22:30:28 2006 for Celestia by  doxygen 1.4.1