3ds Max Material Slot Black

In this lesson, you take a daylight image of a desert landscape, adjust its output to resemble nighttime lighting conditions, then incorporate the result into the scene as a background. You’ll add a Glare effect to enhance the appearance of the lights, then introduce a few more photometric lights to illuminate the interior of one barracks.

3ds Max Tips & Tricks / 2020-08-13 / Materials Slots, V-ray, V-ray materials 3ds Max Materials Editor slots is standard in default, but when we change Render engine to Vray, still we need every time to replace standard slot to Vray manually, so to save time we can make the default slots on Materials editor to be always as Vray. UPDATED for 3ds Max 2012. (2012-06-26) Works with Slate and Compact. Once this script is executed it will be found in the customize menu under the Category JokerMartini. This script will clear out the Material Editor slots and then place the selected object's materials in the material editor. Installed the new hotfix2 and in my material editor (compact) the material slots were populated with Arnold's materials (Physical) and even after resetting the slots - still no Vray materials. I then used the 'Custom UI and Defaults Switcher.' Under 3ds max's Customize menu. Still the same I had to revert to 5.004 My system is: Windows 10 128. Corona Renderer for 3ds Max Max Corona Goodies - User Contributions. But the material preview slot appear black, if the refraction value is 0.

Set up the lesson:

  • Continue working on your own scene file or in the lighting_and_renderingarmy_compound folder, open army_compound_lighting_no_bkrnd.max.

Add a background image:

  1. Open the Rendering menu and choose Environment to open the Environment And Effects dialog. On the Common Parameters rollout, click the Environment Map button (at present, the text on the button says (“None”).

    3ds Max opens the Material/Map Browser.

  2. On the Material/Map Browser, double-click the Bitmap map type. (Bitmap is in the Maps Standard group.)

    3ds Max opens a file dialog.

  3. In the file dialog, navigate to the sceneassetsimages folder, click desert.jpg to highlight it, then click Open.

    The image is a desert landscape, taken during the day.

  4. On the Exposure Control rollout make sure Process Background And Environment Maps is off.

    When this option is turned on, 3ds Max applies the exposure control to the background map itself. For most bitmaps (those that don’t save a high dynamic range), in effect this makes the background and other environment maps invisible.

  5. Make sure no object is selected, right-click a viewport, and from the quad menu, choose Hide Unselected.
  6. Render the Camera01 viewport.

    With all objects hidden, 3ds Max has rendered only the background image. It is apparent that you will need to make the image darker so it suits the nighttime scene.

    Leave the Environment And Effects dialog open for now.

Adjust the background image:

3ds Max Material Slot Black

3ds Max Material Slot Blackout

  1. Open the Slate Material Editor.
  2. In the Material/Map Browser panel on the left, navigate to the Sample Slots group.
  3. Drag the Environment Map button from the Environment And Effects dialog and drop it onto an unused sample slot. The sample slot shows a red bar across it when you are able to drop the map.

    3ds Max asks if this should be an instance or a copy. Make sure Instance is selected, and then click OK.

  4. Close the Environment And Effects dialog.
  5. Drag the sample slot with the environment map into the active View.

    Once again, 3ds Max asks if this should be an instance or a copy. Make sure Instance is selected, and then click OK.

  6. In the active View, double-click the Bitmap node so you can see its parameters in the Parameter Editor panel to the right.
  7. On the Output rollout, decrease the Output Amount to 0.033.
  8. Render the Camera01 viewport again.

    The result is a heavily underexposed image, resembling a night sky: a digital version of filming “day for night.”

    Background bitmap heavily underexposed to suit night scene

  9. Right-click the Camera01 viewport, select Unhide All from the quad menu, then render the scene again.

    The background adds depth and interest to the scene.

  10. Close the Slate Material Editor.

Add a Glare effect:

mental ray provides a number of special effects designed to give light objects added realism. Here, you will add a Glare effect to the army compound lights, to simulate their interaction with dust particles and ambient humidity.

  1. Click (Render Setup). On the Render Setup dialog, go to the Renderer tab. In the Camera Effects rollout Camera Shaders group, turn on the Output shader toggle.

    As the shader button shows, mental ray provides a Glare shader as a default shader for camera output, but by default this shader is turned off, so you have to enable it “by hand.”

  2. Open the Slate Material Editor, and move it so you can see both dialogs.
  3. In the Material/Map Browser panel on the left, navigate to the Sample Slots group.
  4. Drag the Camera Shaders Output button from the Render Setup dialog and drop it onto an unused sample slot. The sample slot shows a red bar across it when you are able to drop the map.

    3ds Max asks if this should be an instance or a copy. Make sure Instance is selected, and then click OK.

  5. Close the Render Setup dialog.
  6. Drag the sample slot with the Glare shader into the active View.

    Once again, 3ds Max asks if this should be an instance or a copy. Make sure Instance is selected, and then click OK.

  7. In the active View, double-click the Glare node so you can see its parameters in the Parameter Editor panel to the right.
  8. On the Glare Parameters rollout, change the value of Spread from 2.0 to 0.5.
  9. Close the Slate Material Editor.
  10. Make a clone of the existing rendered frame, then render the scene.

    Rendered scene with Glare effect added to light sources

    Compare the two images to see the Glare effect. This effect is most pronounced on the suspended lamp over the jeep.

  11. Close the Rendered Frame Windows.

Add lights to the interior of the barracks on the right:

  1. Activate the Top viewport, then zoom and pan until the far-right barracks comes into view.
  2. On the Create panel, click (Lights). On the Object Type rollout, click Free Light to turn it on.
  3. Place the new light by clicking the apex of the barracks roof, near the entrance.
  4. Activate the Front viewport, zoom to see the front of the right-hand barracks, then use (Select And Move) to raise the light object on its Y axis until it is above the floor but below the roof, as shown in the illustration.

    The interior barracks lights are fluorescent, so the new light object should be suspended about two feet (about 0.6m) from the ceiling.

  5. Go to the Modify panel. On the Templates rollout, open the drop-down list and choose 4ft Pendant Fluorescent (Web).

    Now you will set the color the light will cast.

  6. On the Intensity/Color/Attenuation rollout, make sure the preset Light radio button is chosen (as opposed to color temperature: “Kelvin”), then choose Fluorescent (White) from the Light drop-down list.

    The scene calls for a standard fluorescent fixture consisting of four tubes. Rather than physically re-creating each tube, you can simply bump up the intensity of the single light object by a factor of four.

  7. In the Intensity/Color/Attenuation rollout Dimming group, change the value of Resulting Intensity to 400% (percent).
  8. In the Top viewport, make two instances of the fluorescent light. Distribute them evenly along the length of the barracks.
  9. On the Shadows rollout, turn shadows On so the ceiling lights will cast shadows.
  10. Activate the Camera01 viewport and render the scene again.

    Rendered scene with interior lights added to the barracks on the right

    The inside of the right-hand barracks is now illuminated, with light spilling out of the entrance.

Save your work:

  • Save the scene as my_army_compound_nighttime_completed.max.

Summary

In this tutorial, you learned how to use photometric lights to illuminate a night scene. You specified the color of the light source and defined how shadows were cast. You also learned how to take a background image, adjust its output, and apply it as a background to the night scene. Finally, you saw how a mental ray Glare shader can be applied to a light object to improve the realism of the rendering.


This article explains how troubleshoot and fix an issue with black swatches in the 3ds Max Material Editor.

Page Contents ×

Issue

Sometimes, when opening the 3ds Max Material Editor, the material swatches may rendered black in the Material/Map Browser; or the Sample slots may be rendered with a flat color. See the examples below.


There are several potential causes of the issue. Some of them and their solutions are explained in detail in this article.

Licensing Issues

COMPACT EDITORSLATE EDITOR

Rendering the swatches in the Material Editor, just like rendering an image, requires a license. Ensure that:

3ds max material tutorial3ds Max Material Slot Black
  • The Chaos License Server is installed;
  • TheChaos License Server is running;
  • You have available V-Ray for 3ds Max licenses.

For more information on setting up your licenses, see this article.


V-Ray is not set as the Material Editor’s Renderer

COMPACT EDITORSLATE EDITOR

By default, V-Ray is set as the render engine for the Material Editor. In some cases, however, another renderer might be selected, which will cause the V-Ray material swatches to render black.

Assign the renderer to V-Ray manually from Render Setup > Common > Assign Renderer > Material Editor.



Force a Re-render of the Swatches

COMPACT EDITORSLATE EDITOR

Sometimes a re-render of the Material Editor swatches may be the simpler solution.

There are a couple of ways to do that:

  • Set the render engine for the Material Editor to another render engine and then switch back to V-Ray (check above)
  • Use the Material/Map Browser options > Additional Options > Clear Preview Thumbnail Cache command


  • Change the size of the material swatches in the Slate Material Editor by right-clicking on the material group > Display Group(and Subgroup) As: Small / Medium / Large Icons


  • Change the size of the material swatches in the Compact Material Editor by right-clicking on any material swatch > 3x2 / 5x3 / 6x4 Sample Windows

Rendering in the Material Editor is Disabled

SLATE EDITOR

The swatches will not render if rendering for the Material Editor is disabled.

3ds Max Material Id

Make sure that rendering is enabled by toggling the teapot () button in the lower left corner of the window.

Manual Update is Turned On

3ds Max Material Slot Black Friday

COMPACT EDITOR

The Sample Slots in the Compact Material Editor will not update automatically if the Manual Update option is turned ON.

Turn it off from the Options dropdown > Options.. > Manual Update.

Material


3ds Max Free