mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
Make terrain texture settings global, add dialog to painter
This commit is contained in:
parent
d3996aec84
commit
db496fa0c4
10 changed files with 483 additions and 317 deletions
|
|
@ -11,6 +11,18 @@ function Core_Rendering::onCreate(%this)
|
|||
|
||||
$pref::ReflectionProbes::BakeResolution = ProjectSettings.value("Rendering/ProbeCaptureResolution", "64");
|
||||
|
||||
$Terrain::LerpBlend = ProjectSettings.value("Terrain/LerpBlend");
|
||||
|
||||
$Terrain::DetailTextureSize = ProjectSettings.value("Terrain/DetailTextureSize");
|
||||
$Terrain::MacroTextureSize = ProjectSettings.value("Terrain/MacroTextureSize");
|
||||
$Terrain::NormalTextureSize = ProjectSettings.value("Terrain/NormalTextureSize");
|
||||
$Terrain::OrmTextureSize = ProjectSettings.value("Terrain/OrmTextureSize");
|
||||
|
||||
$Terrain::DetailTextureFormat = ProjectSettings.value("Terrain/DetailTextureFormat");
|
||||
$Terrain::MacroTextureFormat = ProjectSettings.value("Terrain/MacroTextureFormat");
|
||||
$Terrain::NormalTextureFormat = ProjectSettings.value("Terrain/NormalTextureFormat");
|
||||
$Terrain::OrmTextureFormat = ProjectSettings.value("Terrain/OrmTextureFormat");
|
||||
|
||||
exec("./scripts/graphicsOptions.cs");
|
||||
exec("./scripts/renderManager.cs");
|
||||
exec("./scripts/gfxData/clouds.cs");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue