the number of times you would press the play button). You can also use this command in the console to execute the shader multiple times:Ģ0 is the number of iterations (e.g. Then hit the play button on the shader a few times to watch them grow step by step. This means, these colors will 'grow' if you hit the play button on the shader. All colors within this range are the seed colors of your plants. A value of 0 means: use no additional color.Īfter setting your values as you like, you need to place some voxels of any colors in range of the selected color +/- the Additional Color parameter you have choosen. The base Color will be the selected color but you can define a range of colors following or preceding the selected color here.Īddition Colors is a number that defines a range of colors to follow or preced (negative sign) the currently selected color. You may paint the different layers of your plant in different colors. Play with this to yield different patterns on the same scene.ġ will look like a very thick carpet of plants while lower values will look more natural. Using the shader on the same scene will always yield the exact same result as long as you don't change this value. 1 is interesting and higher values might cause MagicaVoxel to crash due to high computational effort. The growth width or thickness of the plants. There are 5 parameters right now: Parameter This shader lets you create a mossy or leafy plant or foam (you choose the color set) on your voxel art. Use them according to the description below and try mixing them up for cool results. UsageĪfter installing the shaders (see Installation above) you should see them in the shader menu. Install the shader by copying the file from the shader directory into the shader directory of your MagicaVoxel installation. NOTE: If you modify a VOX file, and its associated MeshLibrary doesn't fully update, try reloading the scene (menu Scene->Reload Saved Scene).Repository for magica voxel shaders. You can set it in the inspector or with an AnimationPlayer to animate the VOX sprite. "Current Frame" lets you select which keyframe is display. It takes the MeshLibrary and an an integer called "Current Frame". Once all keyframes are in a MeshLibrary (using the new importer), this new node-type, "FramedMeshInstance", lets you easily animate them. It is called "MagicaVoxel Mesh" and loads a MagicaVoxel VOX file as a single, static Mesh.Ī NEW NODE-TYPE HAS BEEN ADDED TO EASILY ANIMATE KEYFRAMED MAGICAVOXEL VOX FILES The original importer is still available and is used by default. The new importer is called "MagicaVoxel MeshLibrary" and represents a MagicaVoxel VOX file as a MeshLibrary with one mesh for each keyframe. A new importer has been added for MagicaVoxel VOX files (it's selectable in the "Import" tab). MagicaVoxel allows for the creation of keyframes for animations. It is on by default.ĬAN NOW ACCESS MULTIPLE MAGICAVOXEL KEYFRAMES This option fixes that by only showing voxels from the first keyframe. If each keyframe represents a separate pose then it can look strange when they are all rendered together in Godot. MagicaVoxel allows for creating multiple keyframes of voxels. This lets the user decide which voxels take precedence and is useful when adding tight features where an extra voxel would be inappropriate, such as for facial expressions or tight clothing.ĪN OPTION HAS BEEN ADDED TO ONLY RENDER THE FIRST MAGICAVOXEL KEYFRAME IN GODOT MagicaVoxel VOX files are now shown with the latest layers "on top" of earlier layers. MAGICAVOXEL VOXELS ARE RENDERED IN LAYER ORDER IN GODOT This allows for toggling optional objects in MagicaVoxel, such as clothing and weapons. HIDING LAYERS IN MAGICAVOXEL REMOVES THEIR VOXELS IN GODOT If and when CloneDeath accepts the new features into his add-on, I will remove this one. Enough that I decided to submit it as its own asset. This means it has all the features of that plugin. Once the plugin is downloaded and enabled in your project (in Project->Project Settings->Plugins) any VOX files in your project folders will show up in Godot and can be used as either Meshes or MeshLibraries, depending on their import settings. This plugin lets you use MagicaVoxel VOX files in Godot. MagicaVoxel importer with extensions++ 1.2 3D Tools 4.0 Community
0 Comments
Leave a Reply. |