Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Project 1 - Step and Blended-edged Elliptical Dots

Important

Please refer to the glman directory if you would like to try out the shaders.

Visual Demonstration

Change Width Change Height Change Smoothness

Shader Implementation

This shader creates an elliptical pattern on a sphere, allowing for dynamic adjustments to the ellipse's size, elongation, and edge smoothness through uniform variables like uAd, uBd, and uTol.

Implementation Process

I started by setting up glman, which ended making this whole project more straightforward. Once I imported the GLIB file, I added the two shaders file and ran into a few errors. I worked on getting rid of the errors, and I ended up with an orange sphere. There were no patterns showing, but at least the lighting worked. I was partially stuck on how to create the ellipse patterns, but then I saw there was a similar demo provided in the notes. Glman made it easy to change values on the fly, so it was easy to see how changing each value affects the output.

Video Demonstration

Video Demo
Click the image above to watch the demonstration video