Rendering light bulb with VRay


In this step we move on from simple scene setup to materials setup. What we’ll need is one metal material, black shiny, white for the glass, and one yellowish with texture for the body. And one plain white for the “floor” plane.

So, lets start with simple one. Click on the M button in the Vray toolbar, and there you already have one default vray material. You can rename it into “plane”, and go to diffuse, and make it white. Now, select the plane surface, and in the material window right click on the material and click Apply material to object(s). After that you can lock “plane” layer so it doesn’t get in your way.

image 7

image 7

Next,  we will make a metal material. Or at least metal like material. So, go ahead and duplicate that material you already have by right clicking on it and selecting duplicate. Rename it to “metal”. In the Diffuse, make the color RGB to 150,150,150. Then under Reflection right click and select add layer. Set reflection color to RGB 125,125,125, Highlight Glossiness to 0.8 and Reflection Glossiness also to 0.8. You can increase the Subdivs to say 16 or 20, otherwise the reflections will be full of monochromatic dots, and it won’t look nice. Increasing Subdivs increases render time significantly. Under map for Reflection there is already Fresnel, but we need to change Fresnel IOR to 10. You can lower the Subdivs now to 8. That is about it for the metal material:

image 8

image 8

Now, we need one glossy black material. Duplicate the metal material and make some changes. Set the diffuse color to black, and in the Reflection map set the Fresnel IOR back to 1.55.

image 9

image 9

We’ll move on to the glass material. Duplicate the black material and rename to “glass”. Change the diffuse color to white. Under the reflection, in the Fresnel IOR set 2.5. In the Refraction add one layer. Set the Transparency color to white, IOR to 1, Glossiness to 0.2. Check the Translucent option, and set the Fog color to RGB 240,240,240, and check Affect Shadows. Under Options rollout uncheck Double-Sided. Hit the render to see if you got something like on the image 10 below:

image 10

image 10

Ok, the last material has needs some texture mapping. Duplicate “black” material, and rename to “body+texture”. Now, under the diffuse layers, go ahead and create one more. So you have two diffuse layers. First one will be texture with alpha mask, and the other one will be color. Lets first set the Reflection settings. Set the reflection color to white, Highlight Glossiness to 0.75 (you can leave 0.8 too it is not that obvious change), Reflection Glossiness to 1. Go and click on the M in the reflection, and set the Fresnel IOR to 2 and Refract IOR to 1. Now, go back to the Diffuse1 layer and se the color to RGB 240,240,225.

Now, we will set up Diffuse layer for the textures. In the Transparency color set to white. Now, in the Color, click on the small “m” and set Type to bitmap. Click on the “m” in the File and browse for the “TEST1.jpg” image I attached earlier. Uncheck Tile, and in the Map Channel set to 2. Apply. Now, for the transparency map do the same. Click on the “m”, set type to bitmap, browse for the “TEST1_mask.jpg” and uncheck Tile and set Map Channel to 2.

image 11

image 11

Lets set the mapping to the object. So the object we want to map to is our bulb body. Select it, and go to Properties, and under drop down menu there select Texture Mapping. Check on the Show Advanced UI.

image 12

image 12

Click on the Add button, and then Edit. Now you can change the Map Channel to 2 like we set it on the material earlier. Set the projection to Cylindrical and hit the Show Mapping se we can manipulate that map cylinder.

Now we got some really weird looking cylinder (the dotted lines represent the map cylinder). Now, under Size part of mapping rollout there is one button called Size to objects. Now the cylinder is the exact size we need. We just need to rotate it.

image 13

image 13

So do the rotation from front viewport, and make it fit the bulb body (move it if needed:

image 14

image 14

Now go back to Texture Mapping properties, and under size set x=10, y=10, z=4.5. Move it a little so it fits the body again:

image 15

image 15

So, this is it. You should end with this:


Final render

Pages: 1 2

13 Responses to “Rendering light bulb with VRay”

  1. Tim says:


    This is a very helpful rendering tutorial. Just what I was asking for! Thanks!

  2. Tim says:

    By the way, what was the multiplier set to for your render?

  3. g.sahin says:

    this is such a good tutorial!! It helped me so much both with the other tutorial “modeling light bulb”. Thanks a lot!!
    with rendering I had a quite well result but only problem I had was the image on the bulb was not as clear as on your final render.

  4. Ivan says:

    thanks guys.
    I can’t really remember the multiplier, but I think it is 0.8. But than again, you don’t need to copy everything. If your scene is a bit dark, increase multiplier, and if it is too bright, decrease it. Actually that is rendering, playing with all the options and finding the best combination. However, it is always good to know the options 😉

  5. Pablo says:

    Great tutorial! You missed a very important setting when loading the HDRI, on the window where you select the file, in the top you have to change from “Texture” to “Environment”, this setting will tell VRay that you want to use the bitmap as light source.

    Thanks for the tutorial!

  6. floris says:

    One question, how can I download the textures?

    BTW, great tutorials, thanks for making them 🙂

  7. Ivan says:

    you got the textures on top of the page1.

  8. Nabeel says:

    i can’t find vray anywhere!

  9. Ben says:

    Hi there
    I am just wondering what spec your computer
    This is because i am having issues with my computer when the translucency setting in this tutorial is checked, when it is not checked it seems to work fine,
    would you be able to suggest any other way to achieve the same result with out using to much of my computers resources.

    Cheers Ben

  10. Ivan says:

    what kind of issues? Slow rendering, or crashes?

  11. Ben says:

    very slow rendering

  12. jann says:

    i have the same probs with the extremly slow rendering (almost nothing it seems) when the translucency is on. otherwise it works and the tutorial is great btw 🙂

  13. Nikolay says:

    Great Tut! This is my final render, but as you’ll notice I used sky settings instead of the HDRI map :]

Leave a Reply

You must be logged in to post a comment.