Skip to content

Forcing All Shaders to Use # version 300 es (or be WebGL2 syntax-compatible) #1638

Closed Answered by ibgreen
ilan-gold asked this question in Q&A
Discussion options

You must be logged in to vote

Not sure about the question:

  • LineLayer shader is written in GLSL v1.3, not GLSL 3.00.
  • The default GLSL version, if not specified, would be v1.30.
  • Your inject used GLSL 3.00 construct, so it creates a syntax error in a v1.30 shader

If you rewrote or transpiled the line layer shaders to v3.00 it should work

If still not clear, maybe continue discussion in deck.gl slack?

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@ilan-gold
Comment options

@ilan-gold
Comment options

@ilan-gold
Comment options

Comment options

You must be logged in to vote
1 reply
@ilan-gold
Comment options

Comment options

You must be logged in to vote
1 reply
@ilan-gold
Comment options

Answer selected by ilan-gold
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants