Skip to content

Realistic bubble rendering with OpenGL and GLSL.

Notifications You must be signed in to change notification settings

twinksy1/Bubble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bubble rendering with GLSL

A realistic rendering of a bubble coded in C++ using the OpenGL framework and the GLSL shader language. The bubble is made up of small triangle meshes where each edge is a spring and each point connecting the triangles together is a mass. This allowed me to be able to simulate the expanding and shrinking effect bubbles inherit when floating. I added a cube map around the bubble in order to refract the world textures onto the bubble. Lastly, I added some chromatic aberration in the fragment shader to simulate the light waves that reflect on one another in real bubbles. You can read and see more about the progress of this project here.

GIF of animation

Bubble

About

Realistic bubble rendering with OpenGL and GLSL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published