Open Clauvin opened 5 years ago
The Shader 09 will be a cave where the ceiling and the ground are two lines that never get closer of each other and there will be four floating points which will never touch both lines.
So, how I do it?
Ok, I know how:
1 - I need two wave functions that never touch each other, but get close. 2 - I need four fixed positions in x where the balls will be. 3 - I need a function to calculate the y between the two waves, in position x. 4 - I need to place the balls there.
9 of 16 complete. Let's try to randomize more the waves for the tenth.
11 of 16 complete. The main problem of the 11th, the micro game, is that with a lack of variables... wait.
Ok, the mouse IS a constant variable : p
Now just have to add some transparency to the red and should be ok.
Ok, let's continue this with Unity.
Yes, time to check how Unity let's someone program shaders... tomorrow.
Objective: Shaders 13, 14 and 15 being explorations of the Shader Book + Unity, and 16 is a micro-game. Don't know if it will be a shooter or an avoider.
...also, before that, I have to install the Mobile stuff for Unity 2019.1.14.
Right, to do the last 4 shaders, I need to learn about shaders in Unity. So, let's see the tutorials, and pass what I did so far to Unity.
Ok, assisti. Vou analisar amanhã os shaders desse repositório e daí tentar fazer o shader 12 na Unity.
https://github.com/UnityTechnologies/ShaderGraph_ExampleLibrary
Some objectives:
Conway's Game of Life