Minecraft Version: 1.21.4
This project is an example implementation of integrating the Skija graphics library with Minecraft to enhance rendering capabilities. It demonstrates how to use Skija for advanced rendering techniques within the Minecraft environment.
In this example, we render the blurred version of the Minecraft scene using Skija.
- OpenGL State Management: The project includes utilities for saving and restoring OpenGL states to ensure compatibility with Minecraft's rendering pipeline.
- Skija Integration: Utilizes Skija for rendering, providing advanced graphics capabilities.
- Framebuffer Handling: Ensures Skija is reinitialized when the window is resized.
- Image Handling: Provides utilities to convert Minecraft scene to Skija images.
To run the project, use the following Gradle tasks:
- Run Client:
./gradlew runClient
- Run Client with RenderDoc:
gradlew.bat "runClient + RenderDoc"
(requires Windows and RenderDoc installed in the default locationC:\Program Files\RenderDoc\renderdoccmd.exe
)
This project is licensed under the AGPL-3.0 License. See the LICENSE file for details.
- imgui-java for inspiration and code references.
- Skija for providing the bindings to the Skia graphics library.
- EldoDebug for adding bindings to Skija to allow using GL Textures as Skija images.