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
|
||||
(
|
||||
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
|
||||
|
||||
group "Standard Lighting"
|
||||
|
@ -2211,6 +2211,18 @@ plugin material NelMaterial
|
|||
|
||||
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
|
||||
loadShader ShaderSingleTexture
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue