File Environment.h
FileList > scene > Environment.h
Go to the source code of this file
Environment object for skybox rendering and Image-Based Lighting (IBL).More...
#include "ID.h"#include "Transform.h"#include "Texture.h"#include "Sprite.h"#include "Context.h"#include "buffers/FrameBuffer.h"#include "shaders/RenderShader.h"
Classes
| Type | Name |
|---|---|
| class | Environment Environment object providing skybox and Image-Based Lighting. |
Public Types
| Type | Name |
|---|---|
| enum | EnvironmentType Enumeration of supported environment types. |
Detailed Description
Environment provides background rendering (skybox) and ambient lighting via precomputed IBL textures (diffuse irradiance and specular prefiltered maps). It inherits from ObjectID (scene identity) and Transform3D (orientation for skybox rotation).
Architecture: * Owned by scene graph (shared_ptr in Scene containers) * Active environment selected via SceneContext * Renderer reads IBL textures as immutable data for lighting pass * Editor manipulates environment properties via events
Note:
Only one environment is active at a time (per scene).
Note:
IBL textures are precomputed offline or generated from HDR environment map.
Public Types Documentation
enum EnvironmentType
Enumeration of supported environment types.
enum EnvironmentType {
NONE_ENVIR,
TEXTURE_ENVIR,
COLOR_ENVIR,
NOISE_ENVIR
};
The documentation for this class was generated from the following file src/scene/Environment.h