Announcement

Collapse
No announcement yet.

Gradient Material

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

  • Gradient Material

    Hey guys

    Can one modify the bulge material to make gradients? Been trying but not much luck.

    A nice gradient material sure would be nice, with ability for multi colour gradients, rotation, circular, etc. And also to specify high colour ranges like sunlight as opposed to just white.

    Wouter

  • #2
    Gradient Material

    There currently is no ramp UI for a ramp procedural texture. Its rather complex and will not be feasible to hook up before our planned release date

    [edit]
    You can kinda get a gradiant if you use a noise texture with the Marble w/ Perlin and 1 octave. I'm not exactly sure of how to get a straight up graidant with it, but I have done it before. I'll keep playing around with it. I'm not sure if this is enough for you though.
    Best regards,
    Joe Bacigalupa
    Developer

    Chaos Group

    Comment


    • #3
      Gradient Material

      If you want high color ranges, you should increase the texture multiplier.
      Aversis 3D | Download High Quality HDRI Maps | Vray Tutorials | Free Texture Maps

      Comment


      • #4
        high ranges

        If you do that don't you also increase the bightness of the other tones also? So your blacks will become grays etc... this defeats the purpose since it will still give you a linear light ramp as opposed to very dark areas and very bright areas?(as one has in hdri's)

        Comment


        • #5
          Gradient Material

          ... you should set the color at black befor, the texture multiplier is not a multiplier, it's blend option. I'm not a friend of the hidden blend option, every new user will ask for that function. It's not self exlaining.
          www.simulacrum.de - visualization for designer and architects

          Comment


          • #6
            Gradient Material

            Its just the way the V-Ray plugins work. We'll have to be clear on what the multipliers do in our documentation.
            Best regards,
            Joe Bacigalupa
            Developer

            Chaos Group

            Comment


            • #7
              Gradient Material

              Joe, what is the formula for the blend option? This here?

              output color = color * (1/multiplier) + texure * multiplier
              www.simulacrum.de - visualization for designer and architects

              Comment


              • #8
                Gradient Material

                Originally posted by Micha
                Joe, what is the formula for the blend option? This here?

                output color = color * (1/multiplier) + texure * multiplier
                final_color = color*(1.0f-blend)+texColor.color*blend;

                So a mulitplier of 1.0 uses the texture color only
                Multiplier of 0.0 uses the color only
                Multiplier of 0.5 mixes both evenly

                Now this is the case for most texture multipliers( Diffuse texture / Reflection Texture / Refraction Textures / Emissive Textures ). Bump texture multipliers and GI / background texture multipliers are just straight up multipliers
                Best regards,
                Joe Bacigalupa
                Developer

                Chaos Group

                Comment


                • #9
                  Gradient Material

                  Originally posted by joeb
                  Originally posted by Micha
                  Joe, what is the formula for the blend option? This here?

                  output color = color * (1/multiplier) + texure * multiplier
                  final_color = color*(1.0f-blend)+texColor.color*blend;

                  So a mulitplier of 1.0 uses the texture color only
                  Multiplier of 0.0 uses the color only
                  Multiplier of 0.5 mixes both evenly

                  Now this is the case for most texture multipliers( Diffuse texture / Reflection Texture / Refraction Textures / Emissive Textures ). Bump texture multipliers and GI / background texture multipliers are just straight up multipliers
                  Thank you Joe.

                  In my last test release, the texture preview show not the right blend effect. If I set the multiplier at 0.5 the texture preview is washed out. Is ok so, but if I set the color at red, the texture preview stay grey washed out. Some thing dosn't work right.
                  www.simulacrum.de - visualization for designer and architects

                  Comment


                  • #10
                    Gradient Material

                    The plane used for texture previews has a white diffuse color. Thats why its washed out. Changing the diffuse color in the material editor does not affect the plane color in the texture editor. I guess I should hook it up that way
                    Best regards,
                    Joe Bacigalupa
                    Developer

                    Chaos Group

                    Comment

                    Working...
                    X