Merge pull request #673 from antvis/feat_padding

fix: 点图层设置
This commit is contained in:
@thinkinggis 2021-04-20 20:43:51 +08:00 committed by GitHub
commit 30c904b96a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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));
}