From: <rly...@us...> - 2010-07-24 18:27:46
|
Revision: 6064 http://planeshift.svn.sourceforge.net/planeshift/?rev=6064&view=rev Author: rlydontknow Date: 2010-07-24 18:27:40 +0000 (Sat, 24 Jul 2010) Log Message: ----------- re-enabled z_only shading for items HoM around a few items is a lot better than *heavy* lags in certain areas (e.g. bdroad2) Modified Paths: -------------- trunk/src/client/pscelclient.cpp Modified: trunk/src/client/pscelclient.cpp =================================================================== --- trunk/src/client/pscelclient.cpp 2010-07-23 19:40:45 UTC (rev 6063) +++ trunk/src/client/pscelclient.cpp 2010-07-24 18:27:40 UTC (rev 6064) @@ -2176,8 +2176,9 @@ // Set the early_z shader on this material. iShader* shaderz = NULL; { - //csRef<iStringArray> shaderName = psengine->GetLoader()->GetShaderName("instance_early_z"); - shaderz = shman->GetShader(/*shaderName->Get(0)*/"*null"); + csRef<iStringArray> shaderName = psengine->GetLoader()->GetShaderName("instance_early_z"); + //shaderz = shman->GetShader("*null"); + shaderz = shman->GetShader(shaderName->Get(0)); } shadertype = strings->Request("depthwrite"); mat->SetShader(shadertype, shaderz); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |