paysages3d/src/render/software/AtmosphereModelBruneton.h

28 lines
664 B
C
Raw Normal View History

2013-12-08 17:36:39 +00:00
#ifndef ATMOSPHEREMODELBRUNETON_H
#define ATMOSPHEREMODELBRUNETON_H
#include "software_global.h"
#include "AtmosphereResult.h"
namespace paysages {
namespace software {
class SOFTWARESHARED_EXPORT AtmosphereModelBruneton
{
public:
AtmosphereModelBruneton(SoftwareRenderer *parent);
2013-12-08 17:36:39 +00:00
AtmosphereResult getSkyColor(Vector3 eye, const Vector3 &direction, const Vector3 &sun_position, const Color &base);
AtmosphereResult applyAerialPerspective(Vector3 location, const Color &base);
2013-12-08 17:36:39 +00:00
void fillLightingStatus(LightStatus *status, const Vector3 &normal, int opaque);
private:
SoftwareRenderer* parent;
2013-12-08 17:36:39 +00:00
};
}
}
#endif // ATMOSPHEREMODELBRUNETON_H