Pages

miercuri, 25 noiembrie 2020

AI-Based from Two Minute Papers.

An example of effects created using artificial intelligence from Two Minute Papers.

sâmbătă, 21 noiembrie 2020

Shadertoy: Build a cross intersection - 001.

Based on this tutorial created by Inigo Quilez I created a new cross intersection shader:

The shader is very simple.
I created a black box and then colored all the areas in the corner of this box with black.
I left a white area to see the cross.
You can see better if you change this line of source code:
...into this:
p_m = 1.0-p_m/(p_m+0.1);
or this:
p_m = 1.0-p_m*10.0/(p_m*10.0+0.1);
The shader can be ru and testd here:

joi, 19 noiembrie 2020

News: Cyberpunk 2077 coming to PC !

Cyberpunk 2077 was announced in May 2012.
The first signals about this long-awaited game were from the talented team at Platige Image, here it is:

Cyberpunk 2077 is an upcoming action role-playing video game developed and published by CD PROJEKT RED.
Will this be the future of evolution? Maybe in the games ...
Cyberpunk 2077, an open-world, an action-adventure story from CD PROJEKT RED, coming to PC on December 10th, 2020.
Pre-order here.

sâmbătă, 7 noiembrie 2020

Shadertoy: Build a geometric pattern - 001.

In this tutorial I will show you a simple geometric pattern created with the dot, sin and values taken by the mouse.
This example was built using shader toy online editor.
The source basket contains four lines of code.
The last line of source code is the output with data to display.
The other lines of source code are very simple to understand.
The values of a and b are values created by dividing fragCoord to iResolution of window ...
The fragCoord contains the pixel coordinates of the pixel where the shader is being applied.
The sin_dot will compute the sin of dot from a , b and mouse position.