Skip to content

Commit

Permalink
Reduce default visibility range to 64m
Browse files Browse the repository at this point in the history
  • Loading branch information
TokisanGames committed Nov 3, 2024
1 parent fd6ca1c commit b09275a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/terrain_3d_mesh_asset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ void Terrain3DMeshAsset::clear() {
_name = "New Mesh";
_id = 0;
_height_offset = 0.f;
_visibility_range = 1024.f;
_visibility_range = 64.f;
_visibility_margin = 0.f;
_cast_shadows = GeometryInstance3D::SHADOW_CASTING_SETTING_ON;
_generated_faces = 2.f;
Expand Down
2 changes: 1 addition & 1 deletion src/terrain_3d_mesh_asset.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Terrain3DMeshAsset : public Terrain3DAssetResource {
private:
// Saved data
real_t _height_offset = 0.f;
real_t _visibility_range = 1024.f;
real_t _visibility_range = 64.f;
real_t _visibility_margin = 0.f;
GeometryInstance3D::ShadowCastingSetting _cast_shadows = GeometryInstance3D::SHADOW_CASTING_SETTING_ON;
GenType _generated_type = TYPE_NONE;
Expand Down

0 comments on commit b09275a

Please sign in to comment.