Announcement

Collapse
No announcement yet.

Reflection distortion only

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Reflection distortion only

    Hello,

    I want to set up a glass material that has a distorted reflection.
    I could use some noise in the bump, but then it distords also the refraction.

    So is there a way to have a normal refraction, but a distorted reflection ?

    Thanks!

  • #2
    You can create a BlendMtl, put the refractive material in the base slot, then add a mirror-like material with no refraction and a bumpmap on top and mix accordingly?
    Keep in mind though that this is unrealistic.
    Software:
    Windows 7 Ultimate x64 SP1
    3ds Max 2016 SP4
    V-Ray Adv 3.60.04


    Hardware:
    Intel Core i7-4930K @ 3.40 GHz
    NVIDIA GeForce GTX 780 (4096MB RAM)
    64GB RAM


    DxDiag

    Comment


    • #3
      Have you tried the overide material?

      http://docs.chaosgroup.com/display/V...RayOverrideMtl

      Comment


      • #4
        yeah, used a normal glass + reflection as base, and a glass+ distorted reflection as overide in reflection. But didn't seem to work out. The reflection was still "flat"

        Comment


        • #5
          I think you actually tell VRay to use that material when the OverrideMtl is reflected somewhere else. For example be green for GI calculations, be red in reflections, etc. So I think this is not the right way.
          Software:
          Windows 7 Ultimate x64 SP1
          3ds Max 2016 SP4
          V-Ray Adv 3.60.04


          Hardware:
          Intel Core i7-4930K @ 3.40 GHz
          NVIDIA GeForce GTX 780 (4096MB RAM)
          64GB RAM


          DxDiag

          Comment


          • #6
            vraymtlblend with additive shellac seems to work.
            one just refraction
            one distorted reflection as coat.

            not sure if there is a better way

            Comment


            • #7
              You could duplicate your object and shell it maybe?
              Software:
              Windows 7 Ultimate x64 SP1
              3ds Max 2016 SP4
              V-Ray Adv 3.60.04


              Hardware:
              Intel Core i7-4930K @ 3.40 GHz
              NVIDIA GeForce GTX 780 (4096MB RAM)
              64GB RAM


              DxDiag

              Comment


              • #8
                Hi, as mentioned you need a VRayBlendMtl.

                Click image for larger version

Name:	fresnelBlendExample.JPG
Views:	1
Size:	74.1 KB
ID:	862241

                - Create a VrayBlendMtl.
                - Create a VRayMtl for the refraction, so set diff and refl to black and set refraction to white.
                - Create a VRayMtl for the reflection, set diff and refraction to black and set reflection to white, disable 'Fresnel reflections'.
                - Plug the refraction mat into the base and the reflection mat into the first coat of the VRayBlendMtl.
                - Create a Falloff map or any other map that will allow you to create Fresnel falloffs (remember we disabled that in the reflection material).
                - Set it to Fresnel mode.
                - Plug it into the first blend amount slot.

                Voila, now your material blends refraction and reflection correctly, without having to use additive shellac mode.

                You can then put a bump map into the reflection material to have only the refl material distort the light.

                Good luck! : )
                Rens Heeren
                Generalist
                WEBSITE - IMDB - LINKEDIN - OSL SHADERS

                Comment


                • #9
                  quite simple indeed ! thanks a lot Rens

                  Comment

                  Working...
                  X