Skip to content

(regl) Error compiling fragment shader #2560

Description

@FrancoisRMR

Hello everyone,
I'have a problem on my angular 5 project.
I try to use this chart : Polar Chart, but i have an error.

Plotly.js version : 1.35.2
Errors :

file number 0: webpack-internal:///../../../../plotly.js/node_modules/regl-scatter2d/scatter.js:188:21
1| ./marker-frag.glsl | ^^^ | syntax error

Error: (regl) Error compiling fragment shader, webpack-internal:///../../../../plotly.js/node_modules/regl-scatter2d/scatter.js:188:21
at Function.raise (regl.js:45)
at Function.checkShaderError [as shaderError] (regl.js:325)
at Object.getShader [as shader] (regl.js:4937)
at eval (regl.js:6201)
at Function.checkOptional [as optional] (regl.js:418)
at parseShader (regl.js:6200)
at parseProgram (regl.js:6226)
at parseArguments (regl.js:7324)
at Object.compileCommand [as compile] (regl.js:8657)
at compileProcedure (regl.js:9250)


file number 0: webpack-internal:///../../../../plotly.js/node_modules/regl-scatter2d/scatter.js:200:20
1| ./circle-frag.glsl | ^^^ | syntax error

Error: (regl) Error compiling fragment shader, webpack-internal:///../../../../plotly.js/node_modules/regl-scatter2d/scatter.js:200:20
at Function.raise (regl.js:45)
at Function.checkShaderError [as shaderError] (regl.js:325)
at Object.getShader [as shader] (regl.js:4937)
at eval (regl.js:6201)
at Function.checkOptional [as optional] (regl.js:418)
at parseShader (regl.js:6200)
at parseProgram (regl.js:6226)
at parseArguments (regl.js:7324)
at Object.compileCommand [as compile] (regl.js:8657)
at compileProcedure (regl.js:9250)

I use the framwork correctly with good data.
I checked this issue : #2258 but i'm not sure if my problem is link to this.

Thank's you !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions