Shadertoy – examples and circle .

By | 22/01/2018

In this tutorial I will deal with some examples.
The goal of this tutorial is to understand how shadertoy works and what are the requirements to be able to work properly with this tool.
You need an account then start with the New button to create a new shadertoy workspace.
The Shaderstoy (shaders theory) work on the principle of levels of light, darkness, and color within an input and output result.
The Shadertoy tool has input elements that you can use in source code and predefined input items.
The source code input elements can be found at Shader Inputs, see:

Other input elements are: keyboard, image, video, sound, buffers, etc.
This can be used into source code with iChannel (uniforms into shader theory).
Those who have taught at the university about: field theory or special mathematics will have greater chances to succeed in understanding these shaders theory.
The theory of shaders is applicable very well in complex scientific representations.
Look at my example and try to understand what vectors, functions and Shader Inputs I used.
Read the comments made in the source code and Shader Inputs.

This is the result of this source code:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.