class
render::Skybox
Render thread counterpart of a Skybox
Public
Methods
~Skybox
GetFilteredRadiance
Returns a texture containing filtered version of the radiance texture used for reflections.
This might not be available if it hasn't been generated yet.
GetIrradiance
Returns a texture containing sky irradiance.
This might not be available if it hasn't been generated yet.
~TSkybox<IsRenderProxy>
SetBrightness
Brightness multiplier that will be applied to skybox values before they're being used.
Allows you to make the skybox more or less bright. Equal to one by default.
GetBrightness
GetTexture
Determines an environment map to use for sampling skybox radiance.
Must be a cube-map texture, and should ideally contain HDR data.
Protected
Constructors
Skybox
Methods
Initialize
Called on the render thread when the object is first created.
SyncFromCoreObject
Update internal data from provided memory buffer that was populated with data from the owning CoreObject.
MarkRenderProxyDataDirty
Marks the render proxy data as dirty.
This causes the SyncToRenderProxy() method to trigger the next time objects are synced to the render thread.
- flags
- Flags in case you want to signal that only part of the internal data is dirty. SyncToRenderProxy() will be called regardless and it's up to the implementation to read the flags value if needed.
Fields
mFilteredRadiance
mIrradiance
mActive
mSceneInstance
mTexture
mBrightness
Multiplier to apply to evaluated skybox values before using them.