Fix NeL Material script defaults, fix #166
This commit is contained in:
parent
6e3827928b
commit
3b4e1a32cb
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