Java · Skia · Metal, OpenGL & Vulkan

Desktop apps and games that look designed.

RenGL is a Java toolkit with its own widgets, a 2D game framework and an optional 3D layer. No CSS, no native widgets, no boring defaults. Everything is styled from plain Java.

A glass-style RenGL UI over a flowing shader background, with live sliders, toggles and charts

Everything on this screen is drawn by RenGL.

Apache 2.0open source · on Maven Central
3 renderersMetal · OpenGL · Vulkan
UI · 2D · 3Done engine, one window
Windows · macOS · Linuxx86-64 and arm64

Now public

RenGL is open source, and it has grown.

The engine is on GitHub and on Maven Central. A lot has been added since the first demos.

◈

Ray and path tracing

Exact shadows, reflections, ambient occlusion, global illumination and whole paths of light, each a single call. Hardware on Vulkan GPUs with ray queries, shader code everywhere else, a Mac included.

⤢

Upscaling and frame generation

Draw a fraction of the pixels and enlarge them. A built-in temporal upscaler works on every GPU. AMD FSR 3, NVIDIA DLSS and Apple MetalFX, plus DLSS and FSR frame generation, come from the optional rengl-upscale module.

⬡

Thousands of lights, and levels of detail

About 2000 lights through a clustered grid, surfaces that glow onto their surroundings, occlusion culling, and generated levels of detail with a picture card for the far distance.

⚙

PhysX, if you want it

Step the same PhysicsWorld with NVIDIA PhysX 5 from rengl-physx in one line, or stay on the built-in pure-Java solver. Bodies, joints and characters stay as they are.

◎

Keyboard and accessibility

Every control has a role, a name and a Tab stop. Add rengl-accessibility and the window speaks, and on Windows NVDA, JAWS and Narrator can read it through UI Automation.

▤

More to build with

Web views, gamepads, knobs, gauges, joysticks, minimaps and a radial menu, list boxes, toasts and tool bars, scatter and bubble charts, isometric and hex tile maps, text in any script and files dragged in and out of the window.

Accessibility, levels of detail and a few other additions are on main and arrive in the next release; Maven Central has 0.1.1.

See it move

One toolkit, three ways to wow.

Glass-style UI over a shader background Fireworks made of thousands of particles over a city skyline Metal and glossy spheres lit by a sunset sky and orbiting neon lights

Styled from Java

A custom SkSL shader as the background, translucent panels with gradient borders, gradient text and the stock widgets. All of it is RenGL.

RenGL Editor

Prefer to design it by eye?

The RenGL Editor is a visual editor for apps, 2D games and 3D games, built with RenGL itself. Drag and style a screen, run it in its own window, and write the Java behind it without leaving the tool.

  • A designer with a hierarchy, an inspector and undo for everything.
  • A 3D viewport with move, rotate and scale handles.
  • A built-in Java editor, themes and documentation.
The RenGL Editor designing a settings screen in the dark theme

Look around

Everything has its own page.

Dig into what RenGL can do, how the code reads, and what has been built with it.

Modules

Take only what you use.

RenGL is split into Maven modules, so a program never carries libraries it doesn't use. One dependency, RenGL, still pulls in nearly all of them. Everything is published to Maven Central as io.github.piitex.

  • A tool or app: rengl-core is the window, the UI toolkit, input and the 2D game framework.
  • Add what you need: audio, video, web views, Vulkan, 3D, spell checking, accessibility, tile maps, entities, charts, downloads and UI files are separate artifacts.
  • Opt in to the vendor pieces: rengl-upscale (FSR, DLSS, MetalFX) and rengl-physx (PhysX 5) are left out of RenGL on purpose.
  • Ship it: the RenGL packager builds a launcher with its own Java runtime, or a setup.exe, .deb or .rpm, for all three platforms from one computer.
<dependencyManagement> <dependencies> <dependency> <groupId>io.github.piitex</groupId> <artifactId>rengl-bom</artifactId> <version>0.1.1</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>io.github.piitex</groupId> <artifactId>rengl-core</artifactId> </dependency> <dependency> <groupId>io.github.piitex</groupId> <artifactId>rengl-audio</artifactId> </dependency> </dependencies>

Get started

From empty project to first window in three steps.

  1. 1

    Install the tools

    JDK 25 and a GPU with Metal (macOS) or OpenGL 3.3 (Windows, Linux). Vulkan 1.1 is optional. Any Maven 3 works, and the repository includes a wrapper.

  2. 2

    Add RenGL to your project

    RenGL is on Maven Central. Depend on the engine, and on the natives for the platform you run on (windows, linux or macos, each also with an -arm64 variant). The guide has a pom.xml that picks them for you.

    <dependency> <groupId>io.github.piitex</groupId> <artifactId>RenGL</artifactId> <version>0.1.1</version> </dependency> <dependency> <groupId>io.github.piitex</groupId> <artifactId>rengl-natives-windows</artifactId> <version>0.1.1</version> </dependency>

    Setting up a Maven project ↗

  3. 3

    Or run the demos first

    Clone the repository and build the rengl-examples module, then run Demo, FireworksDemo or Studio3DDemo from your IDE with the repository folder as the working directory. On macOS add the JVM flags below.

    git clone https://github.com/piitex/RenGL.git cd RenGL ./mvnw -pl rengl-examples -am package -DskipTests # macOS only, as JVM options: -XstartOnFirstThread --enable-native-access=ALL-UNNAMED
Status: RenGL is actively developed, and the API can still change before 1.0. Version 0.1.1 is on Maven Central. The demos have been run on macOS (Metal), Windows (OpenGL and Vulkan) and Linux. AMD and Intel GPUs on Windows, and arm64 Windows, have not been tried. A test suite of over 1,700 tests runs on a real GPU. Known limitations ↗
License: open source under the Apache License 2.0. Use it in any game or app, open or closed source, commercial or not. Releases up to and including 0.1.1 were published under the earlier RenGL Open-Source-Game License 1.0 and stay under it; main and later releases are Apache-2.0. Read the license ↗

Boring, simplistic designs don't have to be the normal.