Custom uniforms

To give you more flexibility in making real-time changes to your shaders the existing built-in uniforms are now extended by custom uniforms. It is possible to define up to 20 custom uniforms. You can find the respective menu item in the settings menu.

new_uniform.png

Custom uniforms can be of type boolean, integer and 2-, 3- or 4-component float vector. The name, type and respective value range can be chosen when creating a new uniform. Custom uniforms are bound automatically to the active shader program and changes to the uniforms are visible instantly.

The latest release of Shaderific includes a new shader for Conway's Game of Life that demonstrates the use of custom uniforms.