Added default values for ambientBias
This commit is contained in:
parent
b0f5d19996
commit
bd6a001dcc
@ -49,13 +49,15 @@ static const char fragmentShaderSource_withBaseTexture[] =
|
|||||||
"}\n";
|
"}\n";
|
||||||
|
|
||||||
ShadowMap::ShadowMap():
|
ShadowMap::ShadowMap():
|
||||||
_textureUnit(1)
|
_textureUnit(1),
|
||||||
|
_ambientBias(0.3f,1.2f)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
ShadowMap::ShadowMap(const ShadowMap& copy, const osg::CopyOp& copyop):
|
ShadowMap::ShadowMap(const ShadowMap& copy, const osg::CopyOp& copyop):
|
||||||
ShadowTechnique(copy,copyop),
|
ShadowTechnique(copy,copyop),
|
||||||
_textureUnit(copy._textureUnit)
|
_textureUnit(copy._textureUnit),
|
||||||
|
_ambientBias(copy._ambientBias)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user