Changed: Workaround for dancing trees under direct3d (issue #160)
--HG-- branch : develop
This commit is contained in:
parent
532a81f5cb
commit
3d48368de6
1 changed files with 2 additions and 1 deletions
|
@ -226,7 +226,8 @@ void CMeshVPWindTree::initVertexPrograms()
|
||||||
{
|
{
|
||||||
// setup of the VPLight fragment
|
// setup of the VPLight fragment
|
||||||
uint numPls= i/4;
|
uint numPls= i/4;
|
||||||
bool normalize= (i&1)!=0;
|
// FIXME: normalize=true makes trees dance, workaround for issue #160
|
||||||
|
bool normalize= false; //(i&1)!=0;
|
||||||
bool specular= (i&2)!=0;
|
bool specular= (i&2)!=0;
|
||||||
|
|
||||||
// combine
|
// combine
|
||||||
|
|
Loading…
Reference in a new issue