Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 264 vs 265 for /trunk/Source Code/Environment/Terrain/TerrainLoader.cpp

Diff revisions: vs.
  @@ -169,7 +169,8 @@
169 169 //Generate a shadow render state
170 170 RenderStateBlockDescriptor terrainDescDepth;
171 171 terrainDescDepth.setCullMode(CULL_MODE_CCW);
172 - terrainDescDepth.setZBias(1.0f, 2.0f);
172 + //terrainDescDepth.setZBias(1.0f, 2.0f);
173 + terrainDescDepth.setColorWrites(true, true, false, false);
173 174
174 175 terrain->_terrainRenderState = GFX_DEVICE.getOrCreateStateBlock(terrainDesc);
175 176 terrain->_terrainPrePassRenderState = GFX_DEVICE.getOrCreateStateBlock(terrainDesc);