Sign in to follow this  
Pixar

Glass effect (Ogre)

Recommended Posts

Pixar    122
[size="4"]I want to make glass posteffect like in ogre demo.
Unfortunately I did find nothing. Maybe there are some papers or shaders.
Also, it is interensing to know the principle of this effect.[/size]

[attachment=2451:GlassEffect.jpg]

Share this post


Link to post
Share on other sites
Danny02    279
in this screen u see a simple refraction shader, it is really just simple phisics.
[url="http://en.wikipedia.org/wiki/Refraction"]http://en.wikipedia.org/wiki/Refraction[/url]

What u need:
[list][*]surface normal(in,out)[*]light direction[*]thinkness of material[/list]
u probably don't need a perfect phisic simulation so u can cut some corners.

Just google for refraction shaders(like in water rendering)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this