All Projects → CodingEric → Erics Magicavoxel Shaders

CodingEric / Erics Magicavoxel Shaders

Licence: mit
Shaders for MagicaVoxel including Terrain Generator, Life Game, Waterflow Emulator, Advanced Flood System etc.

Projects that are alternatives of or similar to Erics Magicavoxel Shaders

DungeonTemplateLibraryUnity
🌏: Dungeon free resources (terrain & roguelike generation)
Stars: ✭ 51 (-48.48%)
Mutual labels:  procedural-generation, terrain, noise
Three.terrain
A procedural terrain generation engine for use with the Three.js 3D graphics library for the web.
Stars: ✭ 353 (+256.57%)
Mutual labels:  procedural-generation, noise, terrain
Terrain Builder
🏔 Procedural terrain using Three.js and perlin noise, Now Accelerated by your GPU!
Stars: ✭ 228 (+130.3%)
Mutual labels:  procedural-generation, shaders, terrain
Thalatta
An open source terrain generation suite.
Stars: ✭ 37 (-62.63%)
Mutual labels:  procedural-generation, terrain
CubicNoise
1D & 2D Random noise with bicubic interpolation
Stars: ✭ 76 (-23.23%)
Mutual labels:  procedural-generation, noise
unity-shadergraph-sketches
🎨 Sketches made with ShaderGraph in Unity.
Stars: ✭ 47 (-52.53%)
Mutual labels:  procedural-generation, shaders
fractal-noise-js
Fractal noise functions
Stars: ✭ 37 (-62.63%)
Mutual labels:  procedural-generation, noise
SdfFontDesigner
Offline font tuning/bitmap generation via shaders
Stars: ✭ 56 (-43.43%)
Mutual labels:  procedural-generation, shaders
Procedural-Generation
An Overview of Procedural Generation Techniques and Applications
Stars: ✭ 23 (-76.77%)
Mutual labels:  procedural-generation, noise
Unity Shadersketches
Sketches made with ShaderLab in Unity.
Stars: ✭ 362 (+265.66%)
Mutual labels:  procedural-generation, shaders
Dungeontemplatelibrary
🌏: Dungeon free resources (terrain & roguelike generation)
Stars: ✭ 595 (+501.01%)
Mutual labels:  procedural-generation, terrain
Weltenschaft
Open-Source terrain generator 🗺️
Stars: ✭ 41 (-58.59%)
Mutual labels:  procedural-generation, terrain
Filament
Interactive Music Visualizer
Stars: ✭ 22 (-77.78%)
Mutual labels:  shaders, noise
SimpleErosion
Simple C++ implementatoin of particle-based hydraulic erosion on a square grid
Stars: ✭ 64 (-35.35%)
Mutual labels:  procedural-generation, terrain
DrawSpace
Space-game oriented rendering engine
Stars: ✭ 20 (-79.8%)
Mutual labels:  procedural-generation, shaders
Procedural-Terrain-Generation
3D computer graphics program in C++ OpenFrameworks of a procedural terrain generator based on simplex noise with camera movement and real-time adjustable parameters from the GUI
Stars: ✭ 18 (-81.82%)
Mutual labels:  procedural-generation, terrain
Unity3d Ai And Procedural Generation Framework
Unity3D AI and Procedural Generation Framework.
Stars: ✭ 58 (-41.41%)
Mutual labels:  procedural-generation, terrain
Procedural-Terrain-Generator-OpenGL
Procedural terrain generator with tessellation | C++ OpenGL 4.1
Stars: ✭ 98 (-1.01%)
Mutual labels:  procedural-generation, terrain
glsl-cos-palette
glsl function for making cosine palettes
Stars: ✭ 26 (-73.74%)
Mutual labels:  procedural-generation, shaders
Noise Rs
Procedural noise generation library for Rust.
Stars: ✭ 302 (+205.05%)
Mutual labels:  procedural-generation, noise

Eric's MagicaVoxel Shaders

Shaders for MagicaVoxel including Terrain Generator, Advanced Flood System etc.

Internationalization

Project Info

  • Current version: 0.1.0.1
  • Tested with MagicaVoxel 0.99.4 for Windows
  • Released under MIT License
  • Language: GLSL

Installation

Copy the .txt files from the shader directory in this project to the shader directory of your MagicaVoxel installation.

Compatibility

Notice: The compatibility issue in older GLSL versions are thought of as issues.

Version Is compatible Note
0.98.2 No world system supported
0.99 Cannot show color id in the command panel
0.99.1 Cannot show color id in the command panel
0.99.2
0.99.3
0.99.4.2

Roadmap

  • Cloud generator
  • Implement more options (turbulence and so on) to the terrain generator.
  • Tree randomizer.

Contribution

Feel free to make a PR as long as you've followed the contributing guidelines.

Debug

See this issue.

Shaders and usages

Note
- The parameters with <> can be ignored. Mostly, they are set to 0 as default.
- The shaders are not designed for selected areas without specific explanation.
- The documentation of deprecated/unstable shaders can be found in their folders.

INDEX

tergen

index

  • Usage:
xs tergen [seed] [altitude] 
[noise-scale] [voxel-color] <void-voxel-color> <vertical-shifting> <x-shifting> <y-shifting>
  • Example:
xs tergen 19260817 40 90 1 -1 10 -50 -10
xs tergen 19260817 40 90 1
  1. Set void-voxel-color to -1 to not remove the original scene.
  2. By using the xyz-shifting of the shader & the new world system of MagicaVoxel 0.99.x, you'll be able to create a large terrain map. (fig. 3)
  • Image preview:

tergen2

index

  • Usage:
xs tergen2 [seed] [altitude] 
[noise-scale] [voxel-color] <void-voxel-color> <vertical-shifting> <x-shifting> <y-shifting>
  • Example:
xs tergen2 19260817 16 70 1 -1 -10 -50 -10
xs tergen2 19260817 16 70 1

Set void-voxel-color to -1 to not remove the original scene.

  • Image preview:

cave

index

  • Usage:
xs cave [seed] [noise-scale] [voxel-color] [void-voxel-color (-1 for not emptying the scene)] [vertical-shifting] [x-shifting] [y-shifting]
  • Example:
xs cave 19260817 75 1 -1 10 10 10`
xs cave 19260817 75 1 -1

Set void-voxel-color to -1 to not remove the original scene.

  • Image preview:

flow

index

  • Usage:
xs flow [color-index]
  • Example:
xs flow 1

The voxels with given index are water source, the shader would not automatically create them, you must attach them first.

  • Image preview:

flow2

index

  • Usage:
xs flow2 [color-index]
  • Example:
xs flow2 1

If you're tired of keeping executing this, consider the -n [num interations] parameter.

The voxels with given index are water source, you must attach them first.

  • Image preview:

project

index

Supports x-y plane only. (To be fixed)

  • Usage:
xs project [height]
  • Example:
xs project 64
  • Image preview:

lifegame

index

  • Usage:
xs lifegame [color-index]
  • Example:
xs lifegame 1

Designed for x-y plane. Use single color in your scene, or the shader will destroy it. (To be fixed)

  • Image preview:

drop

index

This shader simulates the drop process.

  • Usage:
xs drop [color-index]
  • Example:
xs drop 1
  • Image preview:

cubefill

index

  • Usage:

    xs cubefill [mode (0 for filling, 1 for frame)] [point1_X] [point1_Y] [point1_Z] [point2_X] [point2_Y] [point2_Z] [voxel color]
    
    xs cubefill [mode (0 for filling, 1 for frame)] [pointX] [pointY] [pointZ] [length of a side] [voxel color]
    
  • Example:

    xs cubefill 1 1 1 1 7 2 2 216
    

    Draw the edge frame of a red cuboid between the coordinates (1,1,1) and (7,2,2).

    xs cubefill 0 50 50 50 10 216
    

    Take coordinates (50,50,50) as the center, create a red cube with a side length of 10 units.

  • Image preview:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].