This a tutorial on how to make a glass shader ....
First try to create asomething like a vase or a jar ......
1- create a blinn shader in the hyper shade
2- make it's color black or turn off the difuse
3- enter the following values in the attributes of the blinn
Eccentricity ------ 0.1
Specural roll off------ 2
Reflectivity -----2.25 or 2.5
Now go to the raytrace options and turn on the Refrations and enter
the following values
Refractive index ---- 1.44
Surface thikness ----- 0.003
You can twaek the surface thickness of course due to your surface thickness
Some important indexes for refraction due to type
Refractive index of
Glass is 1.44
Ice 1.30
Water 1.33
Crystal 2.00
Diamond 2.42
For crystal or diamond ... Turn on chromatic abberation in the raytrace optins to make the realistic rainbow colors that appears from refractions
Ok ... back to the tutorial
- Create a ramp texture contains only black from the low bottom and rest of the texture is white
- Create a sampler info node
- middle click the sampler info node and drag it onto the ramp
- when the menu appears ....press other
- Choose the facing ratio of the sampler info to the V coord of the ramp texture on the right inside UV coord
Now you have the sampler info assigned to the ramp V coord
This to have the realistic black edges that appears in the glass
and the facing ratio of the sampler info to make the black edges appears in the same place to the camera
now middle click and drag the ramp onto the blinn and choose transperancy
- For maya software render ....Dont forget to enable raytrace from the render globals
- For mental ray .....Just render it
Have a nice glass
First try to create asomething like a vase or a jar ......
1- create a blinn shader in the hyper shade
2- make it's color black or turn off the difuse
3- enter the following values in the attributes of the blinn
Eccentricity ------ 0.1
Specural roll off------ 2
Reflectivity -----2.25 or 2.5
Now go to the raytrace options and turn on the Refrations and enter
the following values
Refractive index ---- 1.44
Surface thikness ----- 0.003
You can twaek the surface thickness of course due to your surface thickness
Some important indexes for refraction due to type
Refractive index of
Glass is 1.44
Ice 1.30
Water 1.33
Crystal 2.00
Diamond 2.42
For crystal or diamond ... Turn on chromatic abberation in the raytrace optins to make the realistic rainbow colors that appears from refractions
Ok ... back to the tutorial
- Create a ramp texture contains only black from the low bottom and rest of the texture is white
- Create a sampler info node
- middle click the sampler info node and drag it onto the ramp
- when the menu appears ....press other
- Choose the facing ratio of the sampler info to the V coord of the ramp texture on the right inside UV coord
Now you have the sampler info assigned to the ramp V coord
This to have the realistic black edges that appears in the glass
and the facing ratio of the sampler info to make the black edges appears in the same place to the camera
now middle click and drag the ramp onto the blinn and choose transperancy
- For maya software render ....Dont forget to enable raytrace from the render globals
- For mental ray .....Just render it
Have a nice glass
تعليق