Actions

Difference between revisions of "Shader (glossary)"

From MagicaVoxel Community Wiki

m (win-only notice + version update)
m (adding twitts)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{os|win64}} {{os|win32}}
 
{{os|win64}} {{os|win32}}
 
<ul class="large-block-grid-3">
 
<ul class="large-block-grid-3">
<li>In [[MagicaVoxel]], a '''shader''' is a script file used to execute an automatic task on the current model.<br /><br />
+
<li>In [[MagicaVoxel]], a '''shader''' is a script file used to execute an automatic task on the current model.<br><br>
A shader is usually saved as a .TXT file in the <code>/shader</code> directory, and needs to be called with the [[Console commands|xs]] console command.<br /><br />
+
A shader is usually saved as a .TXT file in the <code>/shader</code> directory, and needs to be called with the [[Console commands|xs]] console command.<br><br>
Location of shader files can be modified in the configuration file [[config.txt]] by changing the path of the line <code>dir_xs_shader</code>.<br /><br />
+
Location of shader files can be modified in the configuration file [[config.txt]] by changing the path of the line <code>dir_xs_shader</code>.<br><br>
 
==Default shaders==
 
==Default shaders==
{{Version|0.99.4.2}}<br />
+
{{Version|0.99.4.2}}<br>
 
* mand
 
* mand
 
* poly
 
* poly
Line 14: Line 14:
 
* [https://github.com/lachlanmcdonald/magicavoxel-shaders/tree/master/shader github repository] of [https://github.com/lachlanmcdonald Lachlan McDonald]
 
* [https://github.com/lachlanmcdonald/magicavoxel-shaders/tree/master/shader github repository] of [https://github.com/lachlanmcdonald Lachlan McDonald]
 
* [https://github.com/CodingEric/Erics-MagicaVoxel-Shaders/tree/master/shader github repository] of [https://github.com/CodingEric Tianyu Huang]
 
* [https://github.com/CodingEric/Erics-MagicaVoxel-Shaders/tree/master/shader github repository] of [https://github.com/CodingEric Tianyu Huang]
* [https://github.com/kchapelier/pseudofractals-voxel-shader/tree/master/shaders github repository] of [https://github.com/kchapelier Kevin Chapelier]</li>
+
* [https://github.com/kchapelier/pseudofractals-voxel-shader/tree/master/shaders github repository] of [https://github.com/kchapelier Kevin Chapelier]
 +
* [https://github.com/Carandiru0/extrude/tree/master/shader github repository] of [https://github.com/Carandiru0 Jason Tully]</li>
 
<li></li>
 
<li></li>
<li>{{InfoPanel|FAQ|Uta: Hi,  I'm new on MaxicaVoxel and I wanted to do a Island but the command  "xs height" isn't working, help please :c<br />
+
<li>{{Tweet-ephtracy|1044415128177905664|1044087775526604801}}</li>
[[User:My_little_bunny|my_little_bunny]]: 1. are you a win user<br />
 
my_little_bunny: 2. did you copy the txt file?<br />
 
my_little_bunny: As it a) doesn't work on Mac and b) requires a txt file in the Shader folder}}</li>
 
 
</ul>
 
</ul>
  
 
[[Category:Glossary]]
 
[[Category:Glossary]]
 
{{NavLang}}
 
{{NavLang}}

Latest revision as of 15:45, 1 December 2019

  • In MagicaVoxel, a shader is a script file used to execute an automatic task on the current model.

    A shader is usually saved as a .TXT file in the /shader directory, and needs to be called with the xs console command.

    Location of shader files can be modified in the configuration file config.txt by changing the path of the line dir_xs_shader.

    Default shaders


    • mand
    • poly
    • sphere
    • wave

    Additional shaders

  • Related Ephtracy tweets


MediaWiki spam blocked by CleanTalk.