mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-27 01:06:19 +00:00
Fix NeL Material script defaults, fix #166
This commit is contained in:
parent
0bcbb3f4aa
commit
1140181fe3
1 changed files with 13 additions and 1 deletions
|
@ -545,7 +545,7 @@ plugin material NelMaterial
|
||||||
rollout nelBasicParameters "NeL Basic Parameters" rolledUp:false
|
rollout nelBasicParameters "NeL Basic Parameters" rolledUp:false
|
||||||
(
|
(
|
||||||
Label lblNlbpA "NeL Material" align:#center across:3
|
Label lblNlbpA "NeL Material" align:#center across:3
|
||||||
Label lblNlbpB "http://dev.ryzom.com/" align:#center
|
Label lblNlbpB "http://www.ryzomcore.org/" align:#center
|
||||||
CheckBox cbTwoSided "2-Sided" checked:false align:#right
|
CheckBox cbTwoSided "2-Sided" checked:false align:#right
|
||||||
|
|
||||||
group "Standard Lighting"
|
group "Standard Lighting"
|
||||||
|
@ -2211,6 +2211,18 @@ plugin material NelMaterial
|
||||||
|
|
||||||
on create do
|
on create do
|
||||||
(
|
(
|
||||||
|
-- Load from Standard
|
||||||
|
bTwoSided = delegate.twoSided
|
||||||
|
cAmbient = delegate.ambient
|
||||||
|
cDiffuse = delegate.diffuse
|
||||||
|
pOpacity = delegate.opacity
|
||||||
|
cSpecular = delegate.specular
|
||||||
|
pSpecularLevel = delegate.specularLevel
|
||||||
|
pGlossiness = delegate.glossiness
|
||||||
|
cSelfIllumColor = delegate.selfIllumColor
|
||||||
|
pSelfIllumAmount = delegate.selfIllumAmount
|
||||||
|
bUseSelfIllumColor = delegate.useSelfIllumColor
|
||||||
|
|
||||||
-- Single shader
|
-- Single shader
|
||||||
loadShader ShaderSingleTexture
|
loadShader ShaderSingleTexture
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue