top of page
Surface Shaders
I used OpenGL and GLSL to modify the surface shaders of the
image to the right, which consists of a background image and
a 3D model of Mario, to create the results below.
-
Deformation of the mesh into a circle by normalizing the position of each vertex, and then using a random function to alter the color.
.png)

-
Create a MatCap reflection shader by mapping the coordinates of the surface normals to a point in the circular texture. The image on the right is the texture used to get the result on the left.






-
Create an iridescent shader using a color palette.

bottom of page