Unconfigured Ad Widget

تقليص

إعـــــــلان

تقليص
لا يوجد إعلان حتى الآن.

How to make a glass shader ----Advanced tutorial

تقليص
X
 
  • تصفية - فلترة
  • الوقت
  • عرض
إلغاء تحديد الكل
مشاركات جديدة

  • How to make a glass shader ----Advanced tutorial

    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

  • #2
    شكرا علي الإعدادات
    بسم الله الرحمن الرحيم
    ومن يتق الله يجعل له مخرجا ويرزقه من حيث لايحتسب ومن يتوكل على الله فهو حسبه ان الله بالغ امره قد جعل الله لكل شئ قدرا
    صدق الله العظيم

    تعليق


    • #3
      لا شكر على واجب ............

      تعليق


      • #4
        By the way .......I forgot to mention that when you render wity mental ray ......make the number of refractions in render globals at least 5

        It's set to 1 by default


        You can also blur the refraction or the and/or the reflection by

        tweaking the settings in the mental ray tab in the material attributes

        it's called refraction blur and reflection blur

        you also have to set the number of rays to a high number like 3,4 or 5

        تعليق

        يعمل...
        X