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:
|
2023-05-29 11:37:19 +00:00
|
|
|
LightingNight() = default;
|
2014-03-26 16:59:42 +00:00
|
|
|
|
2020-10-16 18:18:54 +00:00
|
|
|
void activate(osg::Group* rootNode, bool isExterior) override;
|
2014-03-26 16:59:42 +00:00
|
|
|
void deactivate() override;
|
|
|
|
|
2020-10-16 18:18:54 +00:00
|
|
|
osg::Vec4f getAmbientColour(osg::Vec4f* defaultAmbient) override;
|
2014-03-26 16:59:42 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|