lachlanmcdonald / magicavoxel-shaders

A collection of shaders for MagicaVoxel to generate geometry, noise, patterns, and simplify common and repetitive tasks.
Other
623 stars 49 forks source link

Shader documentation incorrect #38

Closed pentool closed 2 years ago

pentool commented 2 years ago

In the shader documentation under the "Parameters" section you write "...In previous versions of MagicaVoxel, there was a limit to the number of parameters which could be passed to a shader. In current versions, this limit no longer applies."

It would be nice to mention which "versions" are we talking about. Also, on which platform(s) was this statement concluded. As of March 30, 2022 I am using the latest version of MV on the Mac (0.99.6.2) and the number of parameters are maxing out at 16!!!

lachlanmcdonald commented 2 years ago

You are correct, there seems to be an upper limit of 16 parameters. Even if the shader compiles, any parameters after the 16th will not be accessible. Will update the docs.