Week 2 Homework

22 51

Nothing special for the first shader, but unlike the examples provided in class, I changed the values of x and Y, so now the color gradient position changes, and I added u_mouse to allow the user to control the color. In the second shader, I added fract() and u_time to change the animation effect, and made the brightness value changes over time. I also wanted to revise the saturation but the final visual effect was not what I expected, so I just gave up this idea.

Leave a Reply

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