Translucency (GMS)

Description

The transluciency-shader makes it possible for a material to transfer light from the backside to the frontside. This is what happends to lampshade above: The lightsource is placed in the lamp and illuminates the back the shade and a percentage of the illumintion is passed on to the frontside.  Furthermore some percentages of the lightrays passes through the shade and illuminates the surroundings - This can be seen by the shadows on the wall. 
 

Tutorial

Load the scene “Translucency_Tut” from the GMS_Tutorial database and render it: 
 
 
The lampshade is black since the lightsource is on the opposite site. 
  • Now select the lampshade (its selected when you load the scene) and enter the Material-dialog.  Add the materialshader “GMS” from the NF_shaders database to the material and press “edit” to enter the shader parameter dialog.  The Translucency parameters is placed at the bottom of the dialog. To let the illumination of the back side pass through the lampshade adjust the Illumination factor parameter to 1.
Now render the scene (and remeber to use mental ray): 
 
 

Now the shade is illumiated but no lightrays is pennetrating it, so the walls around the lamp is black. 

  • To let some lightrays pass through the lampshade, enter the shader parameters dialog again and adjust the Penetration factor to 0.3.
Now render the scene again: 
 

Now experiment a bit with the two parameters: 

  • Try to increase and decreace the Illumination factor and see how the lampshade get more illuminated when this value gets higher.
    Try to increace and decrease the Penetration factor  to see how the shadow on the walls get darker when this value gets lower.