This tutorial is about how to start with an Empty project , use packages , add a class and finish the project. First you need to start with an Empty Project from the main menu : File – New – Project . Select the Windows Desktop – Empty Project add the name of your project.… Read More »
This tutorial show you how to deal with a C# and forms using Visual Studio Community 2017. You need to start your project with C# – Windows Form Apps (.NET Framework). On this default form window project you can change title and some settings like size, colors . After that , you need to add… Read More »
Today I will show you how to convert a GLSL source code to Shadertoy source code. This tutorial will help you better understand the elements involved in shaders and the display interface. Let’s see what the source code written in GLSL looks like:
// A simple, if a little square, water caustic effect.
// David Hoskins.
// License Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
// Inspired by akohdr's "Fluid Fields"
precision mediump float;
#extension GL_OES_standard_derivatives : enable
uniform float time;
uniform vec2 resolution;
#define f length(fract(q*=m*=.6+.1*d++)-.5)
float d = 0.;
vec3 q = vec3(gl_FragCoord.xy / resolution.yy-13., time*.2);
// Yes, I realise this mat3 looks a little gay in a homo way ... :)teehee
mat3 m = mat3(-2,-1,2, 3,-2,1, -1,1,3);
vec3 col = vec3(pow(min(min(f,f),f), 7.)*40.);
gl_FragColor = vec4(clamp(col + vec3(0., 0.35, 0.5), 0.0, 1.0), 1.0);
To convert it into source code for Shadertoy online tool, we… Read More »
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… Read More »