A fast, powerful, and optimized plugin for creating procedural background mountains using RayMarching.
![]() |
![]() |
|---|---|
![]() |
![]() |
This addon is designed to create open worlds and eliminate the ugly "world break" effect. It generates a procedural horizon to surround your play area, making your world feel infinite without the performance cost of generating actual geometry for distant terrain.
It uses a Raymarching Shader applied to a flipped box mesh (similar to a skybox) to render mountains efficiently.
- Procedural Generation: Uses noise textures to generate infinite variations.
- Highly Optimized: Renders on a single mesh (12 tris) using shader magic. Runs at a stable 60 fps on old videocard AMD Radeon HD 8600/8700M (Integrated)
- Seamless Blending: Built-in fog gradient support to blend the mountains into your sky.
- Customizable: Full control over colors, scale, and fog depth.
- Download the repository.
- Copy the
addons/raymarched_mountainsfolder into your project'saddons/directory. - Enable the plugin in Project > Project Settings > Plugins (if applicable), or simply instantiate the node.
This addon is designed for ease of use.
- Add the RaymarchedMountains node to your scene.
- The node will automatically generate a box mesh around the center.
- Adjust the parameters in the Inspector to fit your art style.
- Heightmap: The noise texture used to generate the mountains.
- Tip: Use a
NoiseTexture2Dwith "Seamless" enabled for the best results.
- Tip: Use a
- FogGradient: A
GradientTexture1D. Use the alpha channel to control how the terrain fades into the sky at a distance.
- UV Scale: Controls the frequency of the noise (how "busy" the mountains look). Lower values = larger features.
- Terrain Scale: Controls the vertical height intensity of the mountains.
- Fog Start: The distance from the center where the fog begins to obscure the mountains.
- Fog End: The distance where the mountains become completely invisible (fully blended with the sky).
- Terrain Color: The base color of the mountain peaks/lit areas.
- Shadow Color: The color of the crevices and shadowed areas.
- Mesh Size: The size of the bounding box. Increase this if you need the mountains to be further away from the player.
This addon is distributed under the Creative Commons Zero (CC0) license. You can use it in any of your projects (commercial or non-commercial) without attribution.
If you find this plugin useful, please give it a star on GitHub!
- GitHub: EmberNoGlow
- Dev.to: embernoglow
- Bluesky: @embernoglow.bsky.social



