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

29 lines
474 B
C++
Raw Normal View History

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