mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 19:49:55 +00:00
Merge with default
This commit is contained in:
parent
7aed5b709d
commit
f039c22f0c
3 changed files with 62 additions and 62 deletions
|
@ -574,36 +574,6 @@ plugin material NelMaterial
|
||||||
CheckBox cbUseSelfIllumColor "Use Color" checked:false align:#right
|
CheckBox cbUseSelfIllumColor "Use Color" checked:false align:#right
|
||||||
)
|
)
|
||||||
|
|
||||||
on cbTwoSided changed bval do
|
|
||||||
updateUI false
|
|
||||||
|
|
||||||
on cpAmbient changed cval do
|
|
||||||
updateUI false
|
|
||||||
|
|
||||||
on cpDiffuse changed cval do
|
|
||||||
updateUI false
|
|
||||||
|
|
||||||
on spOpacity changed pval do
|
|
||||||
updateUI false
|
|
||||||
|
|
||||||
on cpSpecular changed cval do
|
|
||||||
updateUI false
|
|
||||||
|
|
||||||
on spSpecularLevel changed pval do
|
|
||||||
updateUI false
|
|
||||||
|
|
||||||
on spGlossiness changed pval do
|
|
||||||
updateUI false
|
|
||||||
|
|
||||||
on cpSelfIllumColor changed cval do
|
|
||||||
updateUI false
|
|
||||||
|
|
||||||
on spSelfIllumAmount changed bval do
|
|
||||||
updateUI false
|
|
||||||
|
|
||||||
on cbUseSelfIllumColor changed bval do
|
|
||||||
updateUI false
|
|
||||||
|
|
||||||
Fn updateUI update =
|
Fn updateUI update =
|
||||||
(
|
(
|
||||||
if (version >= 14) then
|
if (version >= 14) then
|
||||||
|
@ -655,6 +625,36 @@ plugin material NelMaterial
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
on cbTwoSided changed bval do
|
||||||
|
updateUI false
|
||||||
|
|
||||||
|
on cpAmbient changed cval do
|
||||||
|
updateUI false
|
||||||
|
|
||||||
|
on cpDiffuse changed cval do
|
||||||
|
updateUI false
|
||||||
|
|
||||||
|
on spOpacity changed pval do
|
||||||
|
updateUI false
|
||||||
|
|
||||||
|
on cpSpecular changed cval do
|
||||||
|
updateUI false
|
||||||
|
|
||||||
|
on spSpecularLevel changed pval do
|
||||||
|
updateUI false
|
||||||
|
|
||||||
|
on spGlossiness changed pval do
|
||||||
|
updateUI false
|
||||||
|
|
||||||
|
on cpSelfIllumColor changed cval do
|
||||||
|
updateUI false
|
||||||
|
|
||||||
|
on spSelfIllumAmount changed bval do
|
||||||
|
updateUI false
|
||||||
|
|
||||||
|
on cbUseSelfIllumColor changed bval do
|
||||||
|
updateUI false
|
||||||
|
|
||||||
on nelBasicParameters open do
|
on nelBasicParameters open do
|
||||||
(
|
(
|
||||||
updateUI true
|
updateUI true
|
||||||
|
|
|
@ -126,24 +126,24 @@ AutoEquipTool = 1;
|
||||||
|
|
||||||
|
|
||||||
// *** LANDSCAPE
|
// *** LANDSCAPE
|
||||||
LandscapeTileNear = 150.000000;
|
LandscapeTileNear = 50.000000;
|
||||||
LandscapeTileNear_min = 20.000000;
|
LandscapeTileNear_min = 20.000000;
|
||||||
LandscapeTileNear_max = 250.000000;
|
LandscapeTileNear_max = 100.000000;
|
||||||
LandscapeTileNear_step = 10.0;
|
LandscapeTileNear_step = 10.0;
|
||||||
LandscapeTileNear_ps0 = 20.0;
|
LandscapeTileNear_ps0 = 20.0;
|
||||||
LandscapeTileNear_ps1 = 100.0;
|
LandscapeTileNear_ps1 = 40.0;
|
||||||
LandscapeTileNear_ps2 = 150.0;
|
LandscapeTileNear_ps2 = 50.0;
|
||||||
LandscapeTileNear_ps3 = 200.0;
|
LandscapeTileNear_ps3 = 80.0;
|
||||||
|
|
||||||
// NB: threshold is inverted ULandscape::setThreshold(), to be more intelligible
|
// NB: threshold is inverted ULandscape::setThreshold(), to be more intelligible
|
||||||
LandscapeThreshold = 2000.0;
|
LandscapeThreshold = 1000.0;
|
||||||
LandscapeThreshold_min = 100.0; // Low quality => 0.01 threshold
|
LandscapeThreshold_min = 100.0; // Low quality => 0.01 threshold
|
||||||
LandscapeThreshold_max = 4000.0; // High quality => 0.0005 threshold
|
LandscapeThreshold_max = 2000.0; // High quality => 0.0005 threshold
|
||||||
LandscapeThreshold_step = 100.0;
|
LandscapeThreshold_step = 100.0;
|
||||||
LandscapeThreshold_ps0 = 100.0;
|
LandscapeThreshold_ps0 = 100.0;
|
||||||
LandscapeThreshold_ps1 = 1000.0;
|
LandscapeThreshold_ps1 = 500.0;
|
||||||
LandscapeThreshold_ps2 = 2000.0;
|
LandscapeThreshold_ps2 = 1000.0;
|
||||||
LandscapeThreshold_ps3 = 3000.0;
|
LandscapeThreshold_ps3 = 2000.0;
|
||||||
|
|
||||||
Vision = 500.000000;
|
Vision = 500.000000;
|
||||||
Vision_min = 200.000000;
|
Vision_min = 200.000000;
|
||||||
|
|
|
@ -126,24 +126,24 @@ AutoEquipTool = 1;
|
||||||
|
|
||||||
|
|
||||||
// *** LANDSCAPE
|
// *** LANDSCAPE
|
||||||
LandscapeTileNear = 150.000000;
|
LandscapeTileNear = 50.000000;
|
||||||
LandscapeTileNear_min = 20.000000;
|
LandscapeTileNear_min = 20.000000;
|
||||||
LandscapeTileNear_max = 250.000000;
|
LandscapeTileNear_max = 100.000000;
|
||||||
LandscapeTileNear_step = 10.0;
|
LandscapeTileNear_step = 10.0;
|
||||||
LandscapeTileNear_ps0 = 20.0;
|
LandscapeTileNear_ps0 = 20.0;
|
||||||
LandscapeTileNear_ps1 = 100.0;
|
LandscapeTileNear_ps1 = 40.0;
|
||||||
LandscapeTileNear_ps2 = 150.0;
|
LandscapeTileNear_ps2 = 50.0;
|
||||||
LandscapeTileNear_ps3 = 200.0;
|
LandscapeTileNear_ps3 = 80.0;
|
||||||
|
|
||||||
// NB: threshold is inverted ULandscape::setThreshold(), to be more intelligible
|
// NB: threshold is inverted ULandscape::setThreshold(), to be more intelligible
|
||||||
LandscapeThreshold = 2000.0;
|
LandscapeThreshold = 1000.0;
|
||||||
LandscapeThreshold_min = 100.0; // Low quality => 0.01 threshold
|
LandscapeThreshold_min = 100.0; // Low quality => 0.01 threshold
|
||||||
LandscapeThreshold_max = 4000.0; // High quality => 0.0005 threshold
|
LandscapeThreshold_max = 2000.0; // High quality => 0.0005 threshold
|
||||||
LandscapeThreshold_step = 100.0;
|
LandscapeThreshold_step = 100.0;
|
||||||
LandscapeThreshold_ps0 = 100.0;
|
LandscapeThreshold_ps0 = 100.0;
|
||||||
LandscapeThreshold_ps1 = 1000.0;
|
LandscapeThreshold_ps1 = 500.0;
|
||||||
LandscapeThreshold_ps2 = 2000.0;
|
LandscapeThreshold_ps2 = 1000.0;
|
||||||
LandscapeThreshold_ps3 = 3000.0;
|
LandscapeThreshold_ps3 = 2000.0;
|
||||||
|
|
||||||
Vision = 500.000000;
|
Vision = 500.000000;
|
||||||
Vision_min = 200.000000;
|
Vision_min = 200.000000;
|
||||||
|
|
Loading…
Reference in a new issue