Changed: Workaround for dancing trees under direct3d (issue #160)

--HG--
branch : develop
This commit is contained in:
Nimetu 2017-04-23 20:01:35 +03:00
parent 532a81f5cb
commit 3d48368de6

View file

@ -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