Webgl points / use default vertex shader for hit detection
Otherwise we were getting errors if the custom vertex shader was missing varyings expected by HIT_FRAGMENT_SHADER.
This commit is contained in:
@@ -245,7 +245,7 @@ class WebGLPointsLayerRenderer extends WebGLLayerRenderer {
|
|||||||
);
|
);
|
||||||
this.hitProgram_ = this.helper.getProgram(
|
this.hitProgram_ = this.helper.getProgram(
|
||||||
HIT_FRAGMENT_SHADER,
|
HIT_FRAGMENT_SHADER,
|
||||||
options.vertexShader || VERTEX_SHADER
|
VERTEX_SHADER
|
||||||
);
|
);
|
||||||
|
|
||||||
this.sizeCallback_ = options.sizeCallback || function() {
|
this.sizeCallback_ = options.sizeCallback || function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user