![]() |
Rigs of Rods 2026.01
Soft-body Physics Simulation
|
A dynamic environment probe; Creates a cubemap with realtime reflections around specified point.
Definition at line 33 of file EnvironmentMap.h.
Public Member Functions | |
| GfxEnvmap () | |
| ~GfxEnvmap () | |
| void | SetupEnvMap () |
| void | UpdateEnvMap (Ogre::Vector3 center, GfxActor *gfx_actor, bool full=false) |
Private Attributes | |
| Ogre::Camera * | m_cameras [NUM_FACES] |
| Ogre::RenderTarget * | m_render_targets [NUM_FACES] |
| Ogre::TexturePtr | m_rtt_texture |
| int | m_update_round |
Static Private Attributes | |
| static const unsigned int | NUM_FACES = 6 |
| RoR::GfxEnvmap::GfxEnvmap | ( | ) |
Definition at line 36 of file EnvironmentMap.cpp.
| RoR::GfxEnvmap::~GfxEnvmap | ( | ) |
Definition at line 194 of file EnvironmentMap.cpp.
| void RoR::GfxEnvmap::SetupEnvMap | ( | ) |
Definition at line 43 of file EnvironmentMap.cpp.
| void RoR::GfxEnvmap::UpdateEnvMap | ( | Ogre::Vector3 | center, |
| GfxActor * | gfx_actor, | ||
| bool | full = false |
||
| ) |
Definition at line 206 of file EnvironmentMap.cpp.
|
private |
Definition at line 47 of file EnvironmentMap.h.
|
private |
Definition at line 48 of file EnvironmentMap.h.
|
private |
Definition at line 49 of file EnvironmentMap.h.
|
private |
Definition at line 50 of file EnvironmentMap.h.
|
staticprivate |
Definition at line 45 of file EnvironmentMap.h.