Notes for Thursday February 6 class -- Fragment shaders continued

Creating something cool in a fragment shader

We introduced the noise function. We then used it to create an interesting example of a fragment shader. fragment shaders.

The code we ended with, packaged as a zip file, is HERE. Feel free to start with this code base instead of the one that I shared on Tuesday.

Just remember: For your homework you must do something significantly different from what I showed in class. Be creative and original. Perhaps create a scene that expresses something you find beautiful. Maybe try to use the edge primitive to create polygons. There are lots of possibilities.

Remember, as you do your homework, to look at the last two pages of THIS quick reference to see all of the built in functions you can call..