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

23 lines
429 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>
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