1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-01 03:21:41 +00:00
OpenMW/apps/opencs/view/render/lightingnight.hpp

28 lines
475 B
C++

#ifndef OPENCS_VIEW_LIGHTING_NIGHT_H
#define OPENCS_VIEW_LIGHTING_NIGHT_H
#include "lighting.hpp"
#include <osg/Vec4f>
namespace osg
{
class Group;
}
namespace CSVRender
{
class LightingNight : public Lighting
{
public:
LightingNight() = default;
void activate(osg::Group* rootNode, bool isExterior) override;
void deactivate() override;
osg::Vec4f getAmbientColour(osg::Vec4f* defaultAmbient) override;
};
}
#endif