r/babylonjs • • 3d ago

[Free] Cyberpunk / sci-fi UI frames as SVG + PNG - usable with Babylon GUI 9-slice Images

1 Upvotes

Sharing a free cyberpunk / sci-fi UI kit that fits Babylon GUI work: the frames ship as transparent PNGs you can point a GUI Image at, and Babylon's 9-slice support (sliceLeft/Right/Top/Bottom) stretches a panel to any size with the corners and borders staying crisp. The source SVG keeps the 9-slice groups on separate layers if you want a different export scale. No font dependency.

Free (commercial use, no attribution): https://craftpixel.itch.io/free-cyberpunk-sci-fi-ui-starter-kit-vector-svg

Full 10-pack set at 80% off for Black Friday / Cyber Monday: https://itch.io/s/221135/ultimate-cyberpunk-and-sci-fi-ui-mega-bundle-10-in-1


r/babylonjs • • 4d ago

I made a free browser and desktop 3D editor for quick model fixes, format conversion, and modeling with your own AI (no account, no install)

8 Upvotes

Every indie dev knows this moment: you have a .glb or .obj file that needs one small change, and opening a full 3D suite feels like overkill.

So I built Mesh Editor, a free, open-source 3D editor that opens in one click.

Homepage: https://peer2p.github.io/mesheditor
Try it now (nothing to install, no sign-up): https://peer2p.github.io/mesheditor/app.html

What it's good for

- Quick tweaks: drag in a model, move/scale/cut/combine parts, export.
- Converting files: GLB, glTF, OBJ, STL, PLY, DAE, .babylon.
- Building with an AI buddy: connect the AI you already use (Claude, Gemini, OpenAI, or a local model). Describe what you want, it builds in your scene, you adjust by hand, ask for the next change. Everything is undoable, so experimenting is cheap.
- Free: no credits, no subscription.
- Private if you want it: point it at a local model (Ollama, LM Studio) and nothing leaves your machine.

What it's not: it won't replace Blender, and it's not a one-click "text to AAA asset" generator. It's the small, fast tool for the 80% of tweaks that don't need a heavy suite.

Integrate it into your pipeline via Web Component and plugin system: https://github.com/peer2p/mesheditor
Also available as a desktop app (macOS/Windows/Linux): https://peer2p.github.io/mesheditor/

I'd love to hear: what's the most annoying small 3D chore in your pipeline?


r/babylonjs • • 10d ago

Free AI NPC SDK for Babylon.js WebXR: Zero LLM API Cost & Persistent Memory

2 Upvotes

Hi Babylon.js community!

I’m a solo developer building a WebXR metaverse platform called MetaStar, entirely powered by the amazing Babylon.js engine.

While developing my platform, I noticed a huge pain point in our community: Many 3D web developers want to integrate AI NPCs (like ChatGPT-powered avatars) into their Babylon.js scenes to increase user retention. However, almost everyone hesitates because of the terrifying unpredictability of LLM API costs (OpenAI, Claude, etc.) when traffic scales.

To solve this, I’m releasing the MetaStar AI NPC SDK for Babylon.js developers. It allows you to drop fully conversational, intelligent AI NPCs into your Babylon.js world—with 100% Zero LLM API costs for you as the developer.

Key Features for Babylon.js Devs:

  • Zero API Cost (We pay the bill): Whether you have 100 or 100,000 DAU, the LLM token costs are entirely covered by the MetaStar infrastructure.

  • Persistent Memory (Long-term DB): The NPCs actually remember the users they talk to. You don’t need to build a complex backend database.

  • Easy Babylon.js Integration: Just a few lines of code to connect the AI brain to your existing meshes or avatars in your scene.

  • Boosts Scene Retention: Turn your empty 3D spaces into social hubs where users come back daily to chat with their favorite NPCs.

What’s the catch? Why is it free? I believe in full transparency with fellow developers. To use this free AI, end-users simply log in via the MetaStar SSO (Single Sign-On). Their conversation memory and relationship data are synced to our central ecosystem.

  • You win: Free AI NPCs, higher retention, zero server bills, and no backend headaches.

  • We win: Expanding the MetaStar unified ecosystem across the WebXR space.

If you are tired of building beautiful Babylon.js worlds that feel “empty” but are too scared of LLM costs to add AI, give this a try!

I’d love to hear your feedback, feature requests, or answer any integration questions!

[ Documentation ] Metastar AI NPC SDK — Docs

[Link to MetaStar ] https://metastar.world

Tags: #babylonjs webxr #ainpc chatgpt webgl #metaverse #gamedev #metastar


r/babylonjs • • 19d ago

Babylon.js has been perfect for my 3D turn based RPG

4 Upvotes

I'm building 5isekai.com, a browser-native 3D D&D 5e world, entirely on Babylon.js 9.33, and it’s been a great stress test of the modern engine. The whole game runs on the WebGPU engine with a WebGL2 fallback, so our shaders ship as WGSL and GLSL from the same codebase. Everything is PBR: characters, monsters, terrain and water, with a MaterialPluginBase plugin injected into the terrain material for biome blending and wind-swayed foliage drawn as thin instances by the thousand per draw call. The sun casts cascaded shadow maps across a streamed open world, and the frame goes through the DefaultRenderingPipeline with ACES tonemapping, bloom and SSAO2 for the night, lava and spell glow. Around forty particle systems carry fireballs, meteor swarms, volcanic eruptions, sandstorms, swamp miasma, avalanche snow and festival fireworks. All models are Draco-compressed glTF with AnimationGroups retargeted onto a shared rig so riders sit on mounts and dragons fold their forelegs in flight. Sound is fully positional: every source runs through a Web Audio HRTF panner rail driven from the Babylon scene, so rivers, waterfalls, forges, crowds and the voices of characters move around you in true 3D as you turn. Happy to go deeper on any of it; the live captures on 5isekai.com are straight screenshots of the running engine.

I also added a screenshot here of the video quality controls, I was able to build for the game. this gives a sense of the kind of control babylon.js offers.

It's still in early Alpha, but I'm impressed at what Babylon.js has made possible.


r/babylonjs • • 21d ago

I built a classic-inspired browser MMO in pure TypeScript with no game engine. Here’s what I learned.

7 Upvotes

I’m a software engineer based in Argentina with zero experience in game development.

Two months ago, I was hit by an obsession: can you build a browser-based MMO in the spirit of classic MU Online, Diablo, and WoW, using pure TypeScript and rendering libraries—no Unity, Unreal, or Godot?

I initially assumed AI tools would carry most of the weight. I was dead wrong. While AI sped up some boilerplate, building a game without a engine meant solving every low-level problem manually: browser performance limits, raw shader compilation, asset loading, and strict memory management. Getting smooth, playable performance was a grueling fight.

On top of that, I’m not a 3D artist. Putting together basic models in Blender and engineering a dynamic modular armor system (so gear swaps reflect on your character) took weeks of trial and error, and it’s still rough around the edges.

Where the playable alpha stands today (~10h of content):

  • Questlines, mob farming, and a gear item-refining system (+1 to +9).

  • Shared open-world boss fights.

  • Full multiplayer infrastructure: parties, direct trading, friend lists, and talent trees.

  • 2 classes and 16 unique armor sets.

The server is hosted in São Paulo. Because of how state updates are handled, latency is imperceptible even outside South America. If interest grows, I’ll spin up regional nodes elsewhere.

My vision for Velundra is to gradually turn it into a home for players who miss the golden era of old-school ARPGs and MMOs. It’s easily the most demanding project I’ve ever tackled—I've barely slept 5 hours a night for the past two months.

It’s completely free and runs straight in the browser: velundra.io

Brutal feedback is welcome—the link to the Discord is on the site. Also, if anyone wants to collaborate (3D assets, animation, audio, or code), hit me up!

Thanks for reading! 🙏


r/babylonjs • • 22d ago

Porting a 2003 MMORPG (MU Online) to Babylon.js: where the frames actually went

7 Upvotes

We've been running MU Online (Season 6) in the browser and on phones with Babylon.js 7. The web client is built on the open-source OpenMu-Client-Babylon project (TypeScript), talking to the MUnique/OpenMU server over a small WebSocket-to-TCP bridge. A few things we learned about Babylon along the way, with real numbers:

1. Per-character blob shadows were eating the frame

The classic look uses a "blob" shadow per character: a clone of each of its meshes, skinned and drawn again. In a benchmark crowd of 20 players and 40 monsters, that was 308 of 701 draw calls and about a fifth of the frame's CPU time.

Fix: a small ECS system ranks bodies by distance every 0.25 s. Only the hero and the 12 nearest keep their shadow, with a hysteresis of 4 places so shadows don't flicker at the edge. Below 12 bodies nothing changes. A far shadow is a few pixels anyway.

2. Equipment glow (GlowLayer) only for the closest players

Same idea for the heavy equipment effects: full glow only on the 6 nearest other players; everyone else gets the cheap version. In crowded towns this matters more than any single shader optimization we tried.

3. An automatic "light mode" based on real player data

Looking at our own telemetry, 24 accounts were playing on integrated Intel GPUs at a median of 19 FPS (31% of the time under 15), almost all on default settings: post-processing, MSAA, glow, bloom, sun shafts, full item effects.

Now, if a PC stays under 22 FPS for a while in the world, the client turns off post-processing, MSAA, glow, bloom and sun shafts, drops render scale to 75% and lightens grass, clouds, water and particles, and tells the player in chat (everything can be turned back on in Options). Shadows, skills and animations are left alone. On a desktop bench (12 players + 30 monsters) that alone went from 67 to 82 FPS (CPU 11.7 → 9.3 ms); integrated GPUs gain more.

4. WebGL context loss on phones

Mobile browsers drop the WebGL context when the OS needs memory. We hook engine.onContextLostObservable / onContextRestoredObservable, rebuild what's needed, and if the restore fails we show a "Reload" button instead of leaving a black canvas.

5. Loading thousands of legacy assets

Original models are converted to GLB at build time, loaded once into an AssetContainer and spawned with instantiateModelsToScene. Files get gzip sidecars (about a third of the size on the wire), are packed into a few bundles for the first download, and a Service Worker caches them, so the second visit barely touches the network.

The other piece is a memory leak we hit early: every equipment change cloned the model without disposing the previous clone, and long sessions grew until the tab died. Now the old clone is disposed as a whole and we only reload when the visible gear actually changes.

Curious how others here handle per-character shadows in crowded scenes. Did anyone get CascadedShadowGenerator to play nicely with dozens of skinned meshes on mobile?

Try it

https://openmu.com.br/en - create an account, click Play, and you're in.


r/babylonjs • • Oct 23 '26

Left 4 Dead set the bar for satisfying zombie kills. I'm trying to beat it even though I still have work to do.

24 Upvotes

r/babylonjs • • Oct 06 '26

Ghetto Bird Release With Multiplayer Support

4 Upvotes

r/babylonjs • • Oct 06 '26

Calling All Pets!

Post image
2 Upvotes

r/babylonjs • • Oct 02 '26

Looking for feedback for my waves crashing into a cliff

3 Upvotes

Just wanted to collect some feedback on the way it looks and behaves. Any thought helps. Thanks.


r/babylonjs • • Sep 24 '26

Traffic Boss

13 Upvotes

I made a small browser game with Babylon.js called Traffic Boss.
A small traffic game where you control the light and try not to crash.

🎮 Play: https://trafficboss.vercel.app/

Would love to know what you think
#game #babylon.js #babylonjs


r/babylonjs • • Sep 19 '26

Some satisfying clips I recorded while I was balancing the physics

25 Upvotes

r/babylonjs • • Sep 14 '26

Ocean waves crashing into beaches

3 Upvotes

I am on my 10th edit to the water I have running for my game.
https://youtu.be/gGGS8GChpG8

I created a dev blog on YouTube. I am not selling this game, as I am still trying to lock down the basics, including the water. I feel as though I have been able to work through lots of repeating patterns that make it look fake. I am looking for a better script for more convincing waves crashing on beaches using Babylon.


r/babylonjs • • Sep 13 '26

OvaraEngine character animation ( Working progress )

9 Upvotes

r/babylonjs • • Sep 11 '26

From Blank Scene to Working NPC in Minutes (Ovara Engine)

7 Upvotes

How fast you can go from nothing to a working NPC in Ovara Engine. Ovara's Class system (Actors, Pawns, Characters, Components, Game Mode, Game State) gives NPCs the same foundation as player characters — so you're not hand-rolling behavior from scratch every time. Gameplay logic is authored through Ovara Graph, the engine's Blueprint-style visual scripting system, which means an NPC's movement, decisions, and reactions can be built visually instead of written line-by-line in code.


r/babylonjs • • Sep 11 '26

Day/Night & Seasons in Ovara Engine — Replicated, Trackable, and Event-Driven

11 Upvotes

Latest system in Ovara Engine: a fully multiplayer-replicated day/night cycle, complete with tracked day, date, time, and season values you can display anywhere in your UI. Built alongside it is an event dispatch system, so you can hook into specific moments — trigger something at dawn, run logic at a specific time, have NPCs head to bed at night, or restrict certain spawns to specific seasons. All replicated by default, so every connected player stays in sync without extra setup on your end.


r/babylonjs • • Sep 11 '26

Ovara Engine: New Project → Create a Player → Hit Play. That's it.

5 Upvotes

Quick look at the basic flow in Ovara Engine — creating a new project, create a character, upadte the world setting and hit play. Nothing fancy, just wanted to show the core loop actually works end-to-end. More updates coming as development continues.


r/babylonjs • • Sep 10 '26

Built a 3D game engine editor on top of Babylon.js

Post image
15 Upvotes

Hey guys, I wanted to share something me and my team have been working on.

Ovara Engine is a visual-first 3D game engine with a desktop editor built using Electron, React, and Babylon.js for the viewport/rendering layer. The goal is to give developers a professional editor experience — Blueprint-style visual scripting, a proper class hierarchy (Actors, Pawns, Characters, Components, Game Mode/State), and multiplayer-aware architecture with client-server prediction and replication — without needing to hand-roll all of that from scratch in a raw Babylon.js project.

A few things specific to how it's built:

  • Editor vs. runtime split: Babylon.js powers the editor viewport, but the exported runtime doesn't depend on Electron or React — so the same game can run standalone or on a headless dedicated server.

  • Visual scripting: Gameplay logic is authored through a node-based graph system ("Ovara Graph") that compiles down to actual game logic, rather than being purely a diagramming layer.

  • Why Babylon.js: A few things made it the right foundation. It's TypeScript-first, which gives the editor tooling a clean, well-typed API to build against instead of fighting loose JS types. WebGPU support matters for where rendering performance needs to go as scenes get more complex. The Havok physics integration meant not having to bolt on a separate physics layer or maintain a custom bridge. And the scene graph and node system are flexible enough to build a real class hierarchy (Actors, Pawns, Characters, Components) on top of, rather than fighting the engine's own abstractions to get there.

  • Final : I'll be posting regularly as things progress — new features, rendering/physics deep-dives, and probably a few "why is this breaking" posts along the way.


r/babylonjs • • Aug 28 '26

Viewport-sync node to COMFYUI-previewhel

0 Upvotes

r/babylonjs • • Aug 27 '26

GLB export has unwanted interpolations.

1 Upvotes

Hello, I'm trying to make an animation using blendshapes and different models. It consists of an arrow morphing into a mushroom, then into a frog, and finally into a seashell.

For the morphing, I'm using the same mesh, and when it completely morphs into a different shape, I switch the mesh to a version with a different texture, since GLB can't animate textures or switch between textures.

The problem is that when I scale a mesh from 1 to 0 to hide it, and vice versa, GLB viewers show an interpolation of 3 or 4 decimal frames where the mesh visibly shrinks or grows.

I've tried everything: exporting the animations with stepped interpolation at the point where the mesh switch happens, using different exporters, and changing the frame rate to 30 FPS, but nothing seems to work.

If anyone knows a solution, please let me know.


r/babylonjs • • Aug 10 '26

Where can I learn babylonjs?

5 Upvotes

Actually, I have only one question. I have a solid level of JS/TS in general and I just want to learn something interesting for myself. I'd appreciate any resources, videos, or anything else. Thanks, everyone!


r/babylonjs • • Aug 06 '26

I would like to put in rewarded ads into this babylon.js game (to get different car varieties etc.) Is there an easy way to do it?

2 Upvotes

r/babylonjs • • Aug 04 '26

ChatGpt is super king for babylonJs

0 Upvotes

Three weeks ago I uploaded my web player writena a long time ago, to chatGpt ( I have a 8€/month licence to generate photos) . Then I asked chatGpt if he had some ideas for improvements of my code.

He did. All sorts of upgrades : faster rendering, better design. I was so surprised he new so much about babylonjs. All versions.

So yes : use chatGpt to improve your babylonjs code : it is super nice.


r/babylonjs • • Aug 02 '26

I see a lot of AI-game-dev using three.js, but is anyone using AI well with Babylon.js?

8 Upvotes