Monday, November 18, 2013

Metal Effect using GLSL in OpenGL.

Today I tried to produce a like-metal effect to objects in OpenGL using GLSL. I implemented Phong's Per pixel shading in GLSL on top of a Brushed Metal Texture. I set the metal's material property using references from the internet.

I haven't added reflection (cube mapping) here, as it looks fine and also because its just a simple STL viewing interface.

Here are some of the snapshots:






Here is the link to the materal property references: Material Properties
Here's the theory on Phong's Per Pixel Shading: Phong's Shading

*Source codes are available upon request :)


0 comments:

Post a Comment