|
API Documentation
|
|
|
567 virtual bool load ()
override ;
nkGraphics::Texture * getMultiScatteringLut() const
void setSourceColorTexture(nkGraphics::Texture *value)
float getShadowDepthBias() const
void setShadowSamplingMethod(SHADOW_MAP_PCF value)
void setRayleighAbsorb(nkMaths::Vector value)
An atmosphere effect.
Definition: AtmosphereEffect.h:26
void setRayleighExtinction(nkMaths::Vector value)
virtual bool load() override
void setMultiScatteringLutHeight(unsigned int value)
void setRayleighScattering(nkMaths::Vector value)
nkMaths::Vector getOzoneScattering() const
virtual ~AtmosphereEffect()
Offers all controls to model a camera.
Definition: Camera.h:14
void setMieAbsorb(nkMaths::Vector value)
bool getShadowDebug() const
nkGraphics::Texture * getSourceColorTexture() const
nkMaths::Vector getMieExtinction() const
A texture used for rendering, hosted on GPU.
Definition: Texture.h:35
nkMaths::Vector getRayleighExtinction() const
void setMieG(float value)
unsigned int getMultiScatteringLutHeight() const
float getRayleighHeightDensityFactor() const
nkGraphics::Shader * getLutShader() const
unsigned int getSunLutSampleCount() const
float getOzoneHeighthDensityFactor() const
void setOzoneScattering(nkMaths::Vector value)
void setRayleighHeightDensityFactor(float value)
void setMultiScatteringLutWidth(unsigned int value)
nkMaths::Vector getRayleighScattering() const
float getDistanceFactor() const
The main entry point for nkAstraeus engine.
Definition: System.h:15
bool getOnlyScatterOnObjects() const
void setOzoneHeightDensityFactor(float value)
float getSunAngularRadius() const
void setOzoneExtinction(nkMaths::Vector value)
A shader class, feeding data to a Program.
Definition: Shader.h:16
bool getUseHalfFloatForLuts() const
unsigned int getSunTransmittanceLutWidth() const
SHADOW_MAP_PCF getShadowSamplingMethod() const
void setDistanceFactor(float value)
unsigned int getMultiScatteringLutWidth() const
void setOnlyScatterOnObjects(bool value)
void setPlanetAlbedo(nkMaths::Vector value)
unsigned int getMultiScatteringLutSphereSampleCount() const
void setSunAngularRadius(float value)
void setSunTransmittanceLutHeight(unsigned int value)
void setUseHalfFloatForLuts(bool value)
nkMaths::Vector getMieAbsorb() const
SHADOW_MAP_PCF
Percentage Closer Filtering settings available for materials and effects supporting the shadow mappin...
Definition: ShadowMapPcf.h:12
unsigned int getMultiScatteringLutMarchSampleCount() const
nkGraphics::Texture * getSourceDepthTexture() const
nkMaths::Vector getOzoneAbsorb() const
void setShadowDebug(bool value)
Encompasses all API of component NilkinsAstraeus.
Definition: BlurComplexEffect.h:7
nkMaths::Vector getRayleighAbsorb() const
Smart pointer owning the object instance it encapsulates.
Definition: UniquePtr.h:17
void setMultiScatteringLutSphereSampleCount(unsigned int value)
void setSunTransmittanceLutWidth(unsigned int value)
Base class for all effects in the component.
Definition: Effect.h:16
void setShadowSource(nkGraphics::Texture *shadowMap, nkGraphics::Camera *lightCamera)
void setSunPosition(nkMaths::Vector value)
nkGraphics::Texture * getSunTransmittanceLut() const
void setMieScattering(nkMaths::Vector value)
float getSunIlluminanceFactor() const
nkMaths::Vector getSunPosition() const
void setRaymarchSampleCount(unsigned int value)
virtual void unload() override
void setMieHeightDensityFactor(float value)
void setSourceDepthTexture(nkGraphics::Texture *value)
void setShadowDepthBias(float value)
void setOzoneAbsorb(nkMaths::Vector value)
void setMieExtinction(nkMaths::Vector value)
void setSunTransmittanceLutSampleCount(unsigned int value)
AtmosphereEffect(System *system) noexcept
float getMieHeightDensityFactor() const
unsigned int getRaymarchSampleCount() const
void setMultiScatteringLutMarchSampleCount(unsigned int value)
nkMaths::Vector getOzoneExtinction() const
void setSunIlluminanceFactor(float value)
A 4-component vector class, with floats.
Definition: Vector.h:12
nkMaths::Vector getPlanetAlbedo() const
unsigned int getSunTransmittanceLutHeight() const
nkMaths::Vector getMieScattering() const
static nkMemory::UniquePtr< AtmosphereEffect > create(System *system=nullptr)