Minor - Adds dynamic screen depth and near controls - V14.4.0
Implements dynamic adjustment of screen depth and near clipping plane distances via the ImGui interface. This allows users to modify the perspective projection in real-time, affecting the rendering of the scene. The changes involve: - Adding screen depth and near variables to the application class. - Exposing these variables in the ImGui settings window. - Adding functions to the application and d3d classes to update the projection matrix based on new screen depth and near values. - Updates the sky sphere size to use world scale.
This commit is contained in:
@@ -185,6 +185,8 @@ private:
|
||||
scene_manager* scene_manager_;
|
||||
stats* stats_;
|
||||
ecs::EntityManager* entity_manager_;
|
||||
|
||||
std::shared_ptr<ecs::Entity> sky_entity_shared_ptr_;
|
||||
|
||||
bool showObjectWindow;
|
||||
bool showTerrainWindow;
|
||||
|
||||
Reference in New Issue
Block a user