- 2/3 of the viewer code are no wrapped in helper classes - ByteSwap.h header added - Bugfix in the 3DS loader: Texture blend mode was read incorrectly - Bugfix in the X-Loader. Assets with specular_exp == 0 use gouraud lighting now - Added new helper functions to MaterialHelper - Added aiMaterialGetTexture() function to allow easy access to all properties of a texture git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@16 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
33 lines
956 B
C++
33 lines
956 B
C++
//-------------------------------------------------------------------------------
|
|
/**
|
|
* This program is distributed under the terms of the GNU Lesser General
|
|
* Public License (LGPL).
|
|
*
|
|
* ASSIMP Viewer Utility
|
|
*
|
|
*/
|
|
//-------------------------------------------------------------------------------
|
|
|
|
#if (!defined AV_SHADERS_H_INCLUDED)
|
|
#define AV_SHADERS_H_INCLUDED
|
|
|
|
// Shader used for rendering a skybox background
|
|
extern std::string g_szSkyboxShader;
|
|
|
|
// Shader used for visualizing normal vectors
|
|
extern std::string g_szNormalsShader;
|
|
|
|
// Default shader
|
|
extern std::string g_szDefaultShader;
|
|
|
|
// Material shader
|
|
extern std::string g_szMaterialShader;
|
|
|
|
// Shader used to draw the yellow circle on top of everything
|
|
extern std::string g_szPassThroughShader;
|
|
|
|
// Shader used to draw the checker pattern background for the texture view
|
|
extern std::string g_szCheckerBackgroundShader;
|
|
|
|
#endif // !! AV_SHADERS_H_INCLUDED
|