PDA

View Full Version : help with glass refraction


Titan
08-21-2002, 03:09 AM
I'm trying to create a glass texture that refracts or distorts, and magnifies as it passes in front of another object...

anybody have any good shaders or tutorials or can tell me how to achieve this effect procedurally?

this texture will be used on a creature, if that helps...not an object, and it also has a noise bump displacement..

any help is appreciated.,..

cdinic
08-21-2002, 01:40 PM
new material

click the button at the right that says "Standard" to bring up the material map browser

choose "raytrace" from this list

index of refr: 1.5

transparency: white

now lets choose a material to refract

new material

click get material (icon in the same row at the goto parent icon but al the way to the left. looks like an arrow pointing down onto a circle)

look framiler??? now click the "mtl library" from the left most list under "browse from:"

my list defaulted to a text list but I like the small icons more. click the button at the top that loks like three circles, blue green and red, with small lines going to the right.

at the bottom choose "wood_cedfence"

close material/map browser

close or minamize material editor

now if you want this to be glass choose your raytraced material and turn your specular level to 200 and glossiness to 65

create a shpere in your top viewport about 30 units in radius

in the rolllout on the right set hemisphear to .5

check the squish box

make sure your sphere has the default 32 segments

create a plane about 200 units square in your top view port aproximatly centerd under your sphear

now apply your clear glass material to the hemisphere and your wood to the plane

in the material editor click on the preview window fo your clear glass, which should look only like 2 small white highlits

now click and drag this material to your sphear or click "assign material to selection"

do that same but with your wood texture and your plane object.

render!

hope thats helps

-Chris

Titan
08-21-2002, 03:52 PM
hey man, thanks a bunch !!! yes that helps tremendously!!

CGTalk Moderation
01-13-2006, 02:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.