I’m a software developer and I’ve been following Coding Corner for years — I really appreciate all the great code and insights you guys share. Whenever I have free time or get bored, I work on a personal C# project that exports everything from Silkroad Online’s game files into GLTF format, so I can import them into Blender, Unity, or any other engine.
So far, I’ve managed to export almost everything: characters, items, monsters, buildings — with full animations, bones, and skins. I even wrote a small Unity game to test that clothes, weapons, and bones attach correctly to the characters and animations. Everything works great, and the GLTF files are very small and easy to use.
Now I’ve started working on exporting the terrain. For that, I’m using the JMXVNVM_1000 code (big thanks for that!) to read the .nvm files for the terrain and textures. I also use .o2 files to place objects in the correct positions on the map.
I managed to export the whole Silkroad world into a single GLTF file — that part works fine. The issue I’m stuck on is the terrain textures:
Exporting the terrain geometry is fine.
Applying the textures technically works — I wrote logic to group triangles using the same texture, then assign that texture once, so the file stays small.
BUT: the problem is that the edges between different textures are way too sharp.
When I check in-game, the terrain textures blend smoothly into each other with nice soft transitions. But in my export, the borders between textures look harsh and blocky, like Minecraft blocks 😅 — which looks really bad.
I’ve watched some of YouTube videos and some people exporting textures results look way smoother than mine, so I’m hoping someone can point me in the right direction. I’ve attached screenshots and the relevant code below.
PS:
I’m using .nvm files for terrain and textures
.o2 files for objects
Exporting the Jangan area with objects works fine except for this texture transition problem.
Screenshots of my exported terrain:
Attached files:


Any advice or help on how to achieve smooth texture blending like in the original game would be really appreciated! 🙏
Thanks in advance for any suggestions or insights!






