We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As described in https://libgdx.com/wiki/file-handling
public class MsdfShader extends ShaderProgram { public MsdfShader() { super(Gdx.files.classpath("font.vert"), Gdx.files.classpath("font.frag"));
is not supported at runtime in GWT.
My GWT project compiles fine, but running in the browser it fails with above message.
Work around is to copy the shaders from this library into my assets folder.
The text was updated successfully, but these errors were encountered:
Hmm, libgdx is also using classpath for their shader. https://github.com/libgdx/libgdx/blob/ddc75209f30c3f6aa23d8888604663b09784320a/gdx/src/com/badlogic/gdx/graphics/g3d/shaders/DefaultShader.java#L395-L407 Maybe it works if we add something like this: https://github.com/libgdx/libgdx/blob/ddc75209f30c3f6aa23d8888604663b09784320a/gdx/res/com/badlogic/gdx.gwt.xml#L527-L528
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
As described in https://libgdx.com/wiki/file-handling
is not supported at runtime in GWT.
My GWT project compiles fine, but running in the browser it fails with above message.
Work around is to copy the shaders from this library into my assets folder.
The text was updated successfully, but these errors were encountered: