Day 14: Playing with booleans

Categories AShaderEveryDay

Nothing really new, tonight I only had time to play a little some Boolean operations. Tomorrow, I will try to implement a simple texel based ground or make my first texture. 🙂

Rotation function test on cam and object.
(click on  play to start animation )

Day 11 : Rotation

Categories AShaderEveryDay

        Tonight I added a basic rotation function and tested it on the current scene. Tomorrow I will try to generate the base object of the Menger Sponge.


Rotation function test on cam and object.
(click on  play to start animation )

Day 10 : AO and Rewriting

Categories AShaderEveryDay

        Tonight, AO added and lighting function rewrote using struct to improve readability and flexibility. I also test multiple lights with colors 🙂


Light epreriment + basic AO
(click on the shader box title to see the code )

Day 9 : Lighting upgrade

Categories AShaderEveryDay

     Tonight, I added the most common lighting model in  video game based which is: Color = Emissive + Ambient + Diffuse + Specular. This article is the best resource I found to describe it. Now that the rendered output is correct, I will try to clean and optimize it.


Lighting major upgrade
(click on the shader box title to see the code )