Use texture to draw points with WebGL

This commit is contained in:
Éric Lemoine
2014-10-24 16:57:21 +02:00
parent 2ecd2eadf7
commit bbea205a9c
5 changed files with 174 additions and 93 deletions

View File

@@ -115,8 +115,10 @@ ol.renderer.webgl.VectorLayer.prototype.composeFrame =
replayGroup.replay(context,
this.locations_.a_position,
this.locations_.a_offsets,
this.locations_.a_texCoord,
this.locations_.u_projectionMatrix,
frameState.extent, frameState.pixelRatio,
this.locations_.u_sizeMatrix,
frameState.extent, frameState.pixelRatio, frameState.size,
this.projectionMatrix,
frameState.skippedFeatureUids);
}