Vextris Mod (1.21.1, 1.20.1) – Render Custom 3D Meshes With Smooth Shading
Vextris Mod loads, validates, and renders custom triangle and quad 3D meshes as a lightweight library for other Minecraft mods. It handles large custom models with angled faces rather than cubes alone, builds immutable geometry snapshots on resource reloads, and draws meshes through Minecraft’s vertex consumers. Dependent mods such as Vettura: Vehicles & Roads rely on this library for smooth shading, GPU geometry caching, bone hierarchies, attachment locators, CPU skinning, mesh deformation, and opt-in moving shader lights. This library adds no blocks, items, collision shapes, or gameplay on its own, and its core rendering works without GeckoLib while an optional bridge connects to GeckoLib for skeletal bone animation. It runs safely on dedicated servers because data and transform queries live in common code while rendering stays client-only.
![]()
Features:
- Mesh Loading and Strict Validation: Reads
.vxmesh.jsonfiles across formats 1 through 4, standalone or paired with a matching-path GeckoLib or Bedrock.geo.jsonbone file, handling triangles and planar convex quads with flat or smooth normals. - Large Model Capacity: Loads meshes up to 256 MiB per file, 2,048 parts, 6,291,456 vertices, and 2,097,152 triangle-equivalents in parallel within a memory budget while storing shared corners once to cut memory usage roughly in half.
- GPU Geometry Caching: Keeps cutout mesh parts on the GPU through
MeshGpuCacheand draws them with one matrix per bone instead of resubmitting every vertex each frame, withGpuGeometryoffering the same path for custom road or terrain vertices. - Smooth Shading and Shader Pack Layers: Computes per-vertex normals or angle-based crease smoothing with optional hard edges, draws smooth parts as triangles under Oculus and Iris so smooth normals stay intact, and submits cutout parts to shader shadow passes.
- Bones, Locators, Skinning, and Deformation: Provides bone hierarchies with pivots and bind rotations, named locators for seats, muzzles, or lights, CPU-skinned surfaces with up to four bone weights per vertex (format 4), and live corner deformation that rebuilds normals per smoothing group.
- Optional GeckoLib Animation Bridge: Draws custom meshes and skinned surfaces directly on bones animated by GeckoLib while keeping bind-pose and static mesh rendering working normally without GeckoLib installed.
- Rejects degenerate faces, non-planar faces, and invalid indices per file with clear error messages so healthy mesh files keep loading normally.
- Loads selected meshes on demand in the background on first request via
VextrisMeshes.loadOnDemand(...), complete withstatusandpreloadcontrols. - Prepares GPU cache entries on background worker threads via
bakeAheadbefore drawing so large meshes do not hitch a frame, while keeping translucent parts on the CPU path. - Adds opt-in moving spot lights through
ShaderLightsso compatible shader packs light the world per pixel with block shadows from sources like vehicle headlights, staying idle unless both a dependent mod and the shader pack opt in. - Bakes mesh data once per resource reload into immutable snapshots so pressing F3+T reloads cleanly without issues.
- Runs bone and locator transform queries on dedicated servers while keeping all rendering code strictly client-side.
- Lets dependent mods construct validated meshes in code with
MeshModel.builder()and apply custom per-bone spinning, hovering, or part separation through theBonePoserhook. - Stays focused strictly as a rendering library with no standalone blocks, items, block entities, collision shapes, networking, keyframes, or morph targets.
- Requires neither Oculus, Iris, Embeddium, nor Sodium to run, while remaining tested alongside shader and performance setups.
Key Library Components:
.vxmesh.jsonLoader: Loads formats 1 to 4 straight from streams in parallel with per-file validation and optional.geo.jsonbone pairing.VextrisMeshes.loadOnDemand(...): Defers mesh loading until first use in the background, paired withstatusandpreloadqueries.MeshGpuCacheandGpuGeometry: Cache cutout models and custom vertex geometry on the GPU using the RenderType shader or active shader pack so visuals match the CPU path.BonePoser: Per-bone transform hook for custom motion such as spinning parts, hovering models, or separating pieces.MeshPart.deformed(...)andMeshModel.deformed(...): Move mesh corners for effects such as dented panels, rebuild smoothing-group normals, and re-bake only changed bones in the GPU cache.ShaderLights: Opt-in spot light bridge allowing compatible shader packs to render per-pixel moving lights with block shadows.
Configuration:
-Dvextris.gpuCache=false: JVM flag that turns off the GPU geometry cache and draws cutout mesh parts through the CPU path instead.
How to Use:
- Run this library alongside any mod that requires it (such as Vettura: Vehicles & Roads); static and bind-pose meshes work with no extra setup.
- Add GeckoLib only if one of your installed mods uses the optional bone-animation bridge; static and bind-pose meshes run without GeckoLib.
- Press F3+T in-game whenever you reload resource packs; meshes bake cleanly into immutable snapshots per reload.
- If you use a shader pack that reads moving spot lights, turn on its light option in shader settings so lights registered by dependent mods appear in-game.
- Add the JVM flag
-Dvextris.gpuCache=falseto your launcher arguments if you want to turn off GPU caching and force the CPU rendering path.
How to Install:
New to Minecraft? Follow our step-by-step guide to install Mods on your PC.View Guide
Requirements:
Vextris Mod Download Links
For Minecraft 1.21.1, 1.21
For Minecraft 1.20.1, 1.20
If you rent a paid server to play modded Minecraft with friends, how do you usually set it up?
61 responses · See the full results →
0



















This post has no comments yet. Be the first — your comment will appear here.