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

--HG--
branch : develop
Nimetu 8 years ago
parent 532a81f5cb
commit 3d48368de6

@ -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…
Cancel
Save