1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 23:23:53 +00:00
openmw/apps/opencs/view/render/lightingnight.hpp

28 lines
465 B
C++
Raw Normal View History

2014-03-26 16:59:42 +00:00
#ifndef OPENCS_VIEW_LIGHTING_NIGHT_H
#define OPENCS_VIEW_LIGHTING_NIGHT_H
#include "lighting.hpp"
2022-10-10 11:41:36 +00:00
#include <osg/Vec4f>
2022-10-19 17:02:00 +00:00
namespace osg
{
class Group;
}
2014-03-26 16:59:42 +00:00
namespace CSVRender
{
class LightingNight : public Lighting
{
2022-09-22 18:26:05 +00:00
public:
LightingNight();
2014-03-26 16:59:42 +00:00
2022-09-22 18:26:05 +00:00
void activate(osg::Group* rootNode, bool isExterior) override;
void deactivate() override;
2014-03-26 16:59:42 +00:00
2022-09-22 18:26:05 +00:00
osg::Vec4f getAmbientColour(osg::Vec4f* defaultAmbient) override;
2014-03-26 16:59:42 +00:00
};
}
#endif