Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 911 vs 912 for /trunk/Source Code/Environment/Vegetation/Vegetation.cpp

Diff revisions: vs.
  @@ -97,7 +97,6 @@
97 97
98 98 RenderStateBlock transparentRenderState;
99 99 transparentRenderState.setCullMode(CullMode::CW);
100 - // transparent.setBlend(true);
101 100 _grassStateBlockHash = transparentRenderState.getHash();
102 101
103 102 ResourceDescriptor vegetationMaterial("vegetationMaterial" + getName());
  @@ -346,7 +345,7 @@
346 345 _cullShader->Uniform("cullType",
347 346 /*queryID*/ to_base(CullType::INSTANCE_CLOUD_REDUCTION));
348 347
349 - _context.renderTarget(RenderTargetID(RenderTargetUsage::SCREEN)).bind(0, RTAttachment::Type::Depth, 0);
348 + _context.renderTarget(RenderTargetID(RenderTargetUsage::SCREEN)).bind(0, RTAttachmentType::Depth, 0);
350 349 buffer->bindFeedbackBufferRange(to_base(BufferUsage::CulledPositionBuffer),
351 350 _instanceCountGrass * queryID,
352 351 _instanceCountGrass);