https://github.com/lyzev/skija
This is an example Minecraft implementation that integrates the Skija graphics library to enhance rendering capabilities.
https://github.com/lyzev/skija
1-21-4 example fabric gui minecraft mod poc proof-of-concept render skia skija
Last synced: 3 months ago
JSON representation
This is an example Minecraft implementation that integrates the Skija graphics library to enhance rendering capabilities.
- Host: GitHub
- URL: https://github.com/lyzev/skija
- Owner: Lyzev
- License: other
- Created: 2024-12-28T13:44:05.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-16T20:06:54.000Z (11 months ago)
- Last Synced: 2025-02-16T21:18:35.069Z (11 months ago)
- Topics: 1-21-4, example, fabric, gui, minecraft, mod, poc, proof-of-concept, render, skia, skija
- Language: Kotlin
- Homepage: https://lyzev.dev/
- Size: 29 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# Skija
**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.
## Features
- **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.
## Usage
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 location `C:\Program Files\RenderDoc\renderdoccmd.exe`)
## License
This project is licensed under the AGPL-3.0 License. See the [LICENSE](LICENSE) file for details.
## Acknowledgements
- [imgui-java](https://github.com/SpaiR/imgui-java) for inspiration and code references.
- [Skija](https://github.com/HumbleUI/Skija) for providing the bindings to the Skia graphics library.
- [EldoBug](https://github.com/EldoDebug) for adding bindings to Skija to allow using GL Textures as Skija images.