Skip to content
Java WebGL demo project based on Libgdx.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CGLab04-android
CGLab04-desktop
CGLab04-html
CGLab04
.gitignore
README.md

README.md

Java WebGL

A showcase project to test the compatibility between Java and WebGL.

More info at my wordpress blog.

Running the code

  1. Import the eclipse projects.
  2. Clone and import the model-loaders libgdx extension project.
  3. Fix any classpath errors if any.
  4. Run the desktop application or compile and launch the GWT project.
  5. Browse the code and enjoy!

Troubleshooting

If you encounter the following error when running the GWT app: "GWT could not create an array of type Material" (or something like that). Then you need to apply the following (workaround) patch

License

The code is released under the MIT License, excepting the Water shaders, the 3D models and the textures.

You can’t perform that action at this time.