WEEK2 Homework

Gradient 01


I made a gradation that mixed yellow and sky blue and redirected the X-axis to the Y-axis. It was exciting that the function value and direction axis I heard in school math class was needed to code the shader.


Gradient 02


I was trying to create a new pattern by changing numbers and codes based on the example. I set the range, and the input value of ‘u_mouse’ was added to make a scene where the curtain seemed to open and close. I chose a vivid colour so that the before and after the mouse touch was remarkably reversed. I was not used to the code yet, so I had difficulty with errors.

gradient02-1 gradient02-2 gradient02-3

You can see the video of Gradient 02

Leave a Reply

Your email address will not be published. Required fields are marked *