|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
The editor view's own lighting, in place of the scene's. More...
#include <RenderFrame.hpp>
Public Attributes | |
| bool | studio = false |
| f32 | rotation = 0.0f |
| Degrees about +Y that the key and fill turn together. | |
| f32 | keyIntensity = 0.8f |
| f32 | fillIntensity = 0.3f |
| f32 | skyIntensity = 1.0f |
| Scales the neutral sky's light; the scene's own Ambient is not consulted. | |
| bool | showSky = false |
| Draw the scene's environment as the background while studio-lit. | |
The editor view's own lighting, in place of the scene's.
VIEW state, not scene state: nothing here is a component, nothing is saved, and a host that never calls the setter (every packaged build) lights the scene by its own lights exactly as before. In studio mode the frame ignores the scene's lights and lights with a neutral sky, a key and a fill, so a model the scene left dark can be read. The scene's environment may still be drawn as the BACKGROUND (showSky): seeing the sky and being lit by it are separate questions.
Definition at line 558 of file RenderFrame.hpp.
| f32 esengine::RenderFrame::ViewLighting::fillIntensity = 0.3f |
Definition at line 563 of file RenderFrame.hpp.
Referenced by esengine::renderer_setViewLighting().
| f32 esengine::RenderFrame::ViewLighting::keyIntensity = 0.8f |
Definition at line 562 of file RenderFrame.hpp.
Referenced by esengine::renderer_setViewLighting().
| f32 esengine::RenderFrame::ViewLighting::rotation = 0.0f |
Degrees about +Y that the key and fill turn together.
Definition at line 561 of file RenderFrame.hpp.
Referenced by esengine::renderer_setViewLighting().
| bool esengine::RenderFrame::ViewLighting::showSky = false |
Draw the scene's environment as the background while studio-lit.
Definition at line 567 of file RenderFrame.hpp.
Referenced by esengine::renderer_setViewLighting().
| f32 esengine::RenderFrame::ViewLighting::skyIntensity = 1.0f |
Scales the neutral sky's light; the scene's own Ambient is not consulted.
Definition at line 565 of file RenderFrame.hpp.
Referenced by esengine::renderer_setViewLighting().
| bool esengine::RenderFrame::ViewLighting::studio = false |
Definition at line 559 of file RenderFrame.hpp.
Referenced by esengine::renderer_setViewLighting().