0.2.3 • Published 3 years ago

@shader-art/plugin-uniform v0.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

UniformPlugin for shader-art

This plugin lets you add and configure uniform variables. Uses dat.GUI.

You can add uniform variables by using the <uniform type="vec2|vec3|vec4|color|int|float" /> tag.

Supported types:

<uniform type="vec2" name="testVec2" value="1,2" />
<uniform type="vec3" name="testVec3" value="1,2,3" />
<uniform type="vec4" name="testVec4" value="1,2,3,4" />
<uniform type="color" name="testColor" value="#ff00ff" />
<uniform type="float" name="testFloat" value="123." />
<uniform type="int" name="testInt" value="42" />

Examples

0.2.1

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago