mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 01:09:50 +00:00
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
|
||||
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;
|
||||
|
||||
// combine
|
||||
|
|
Loading…
Reference in a new issue