|
|
@ -595,7 +595,7 @@ plugin material NelMaterial
|
|
|
|
cpSelfIllumColor.visible = bUseSelfIllumColor
|
|
|
|
cpSelfIllumColor.visible = bUseSelfIllumColor
|
|
|
|
)
|
|
|
|
)
|
|
|
|
else
|
|
|
|
else
|
|
|
|
(
|
|
|
|
(
|
|
|
|
bTwoSided = cbTwoSided.checked
|
|
|
|
bTwoSided = cbTwoSided.checked
|
|
|
|
cAmbient = cpAmbient.color
|
|
|
|
cAmbient = cpAmbient.color
|
|
|
|
cDiffuse = cpDiffuse.color
|
|
|
|
cDiffuse = cpDiffuse.color
|
|
|
@ -607,6 +607,9 @@ plugin material NelMaterial
|
|
|
|
pSelfIllumAmount = spSelfIllumAmount.value
|
|
|
|
pSelfIllumAmount = spSelfIllumAmount.value
|
|
|
|
bUseSelfIllumColor = cbUseSelfIllumColor.checked
|
|
|
|
bUseSelfIllumColor = cbUseSelfIllumColor.checked
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spSelfIllumAmount.visible = not cbUseSelfIllumColor.checked
|
|
|
|
|
|
|
|
cpSelfIllumColor.visible = cbUseSelfIllumColor.checked
|
|
|
|
|
|
|
|
|
|
|
|
delegate.twoSided = bTwoSided
|
|
|
|
delegate.twoSided = bTwoSided
|
|
|
|
delegate.ambient = cAmbient
|
|
|
|
delegate.ambient = cAmbient
|
|
|
|
delegate.diffuse = cDiffuse
|
|
|
|
delegate.diffuse = cDiffuse
|
|
|
|