fix: 点图层设置

This commit is contained in:
thinkinggis 2021-04-20 20:05:24 +08:00
parent de056c2e9c
commit ab1b0ce602
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ export default class FillModel extends BaseModel {
vertexShader: pointFillVert,
fragmentShader: pointFillFrag,
triangulation: PointFillTriangulation,
depth: { enable: true },
depth: { enable: false },
blend: this.getBlend(),
}),
];

View File

@ -43,6 +43,6 @@ void main() {
setPickingColor(a_PickingColor);
gl_Position = project_common_position_to_clipspace(vec4(project_pos.xy + offset, project_pixel(setPickingOrder(0.0)), 1.0));
gl_Position = project_common_position_to_clipspace(vec4(project_pos.xy + offset, 0.0, 1.0));
}