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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
475 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
{
public:
LightingNight() = default;
2014-03-26 16:59:42 +00:00
void activate(osg::Group* rootNode, bool isExterior) override;
2014-03-26 16:59:42 +00:00
void deactivate() override;
osg::Vec4f getAmbientColour(osg::Vec4f* defaultAmbient) override;
2014-03-26 16:59:42 +00:00
};
}
#endif