2012-04-03 13:13:47 +00:00
|
|
|
#ifndef GAME_RENDER_CONST_H
|
|
|
|
#define GAME_RENDER_CONST_H
|
|
|
|
|
|
|
|
#include <OgreRenderQueue.h>
|
|
|
|
|
|
|
|
namespace MWRender
|
|
|
|
{
|
|
|
|
|
|
|
|
// Render queue groups
|
2012-04-04 16:53:40 +00:00
|
|
|
enum RenderQueueGroups
|
|
|
|
{
|
|
|
|
// Sky early (atmosphere, clouds, moons)
|
|
|
|
RQG_SkiesEarly = Ogre::RENDER_QUEUE_SKIES_EARLY,
|
|
|
|
|
|
|
|
RQG_Main = Ogre::RENDER_QUEUE_MAIN,
|
|
|
|
|
2012-04-07 20:37:15 +00:00
|
|
|
RQG_Water = Ogre::RENDER_QUEUE_7+1,
|
2012-04-04 23:21:36 +00:00
|
|
|
|
2012-04-07 20:37:15 +00:00
|
|
|
RQG_Alpha = Ogre::RENDER_QUEUE_MAIN,
|
2012-04-04 16:53:40 +00:00
|
|
|
|
2012-04-06 14:11:08 +00:00
|
|
|
RQG_UnderWater = Ogre::RENDER_QUEUE_7+1,
|
|
|
|
|
2012-04-05 17:07:21 +00:00
|
|
|
RQG_OcclusionQuery = Ogre::RENDER_QUEUE_8,
|
|
|
|
|
2012-04-04 16:53:40 +00:00
|
|
|
// Sky late (sun & sun flare)
|
|
|
|
RQG_SkiesLate = Ogre::RENDER_QUEUE_SKIES_LATE
|
|
|
|
};
|
2012-04-03 13:13:47 +00:00
|
|
|
|
|
|
|
// Visibility flags
|
|
|
|
enum VisibilityFlags
|
|
|
|
{
|
|
|
|
// Terrain
|
|
|
|
RV_Terrain = 1,
|
|
|
|
|
|
|
|
// Statics (e.g. trees, houses)
|
|
|
|
RV_Statics = 2,
|
|
|
|
|
|
|
|
// Small statics
|
|
|
|
RV_StaticsSmall = 4,
|
|
|
|
|
|
|
|
// Water
|
|
|
|
RV_Water = 8,
|
|
|
|
|
|
|
|
// Actors (player, npcs, creatures)
|
|
|
|
RV_Actors = 16,
|
|
|
|
|
|
|
|
// Misc objects (containers, dynamic objects)
|
|
|
|
RV_Misc = 32,
|
|
|
|
|
|
|
|
RV_Sky = 64,
|
|
|
|
|
2012-04-06 13:17:54 +00:00
|
|
|
// Sun glare (not visible in reflection)
|
|
|
|
RV_Glare = 128,
|
|
|
|
|
2012-04-18 23:08:26 +00:00
|
|
|
RV_OcclusionQuery = 256,
|
|
|
|
|
2012-04-03 13:13:47 +00:00
|
|
|
RV_Map = RV_Terrain + RV_Statics + RV_StaticsSmall + RV_Misc + RV_Water,
|
|
|
|
|
|
|
|
/// \todo markers (normally hidden)
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|