©BBB3viz

Table of Contents

This page gives information about V-Ray Bake Elements that can be output when rendering to textures in 3ds Max.

Overview


The Render to Texture feature in 3ds Max includes several V-Ray output elements (bake elements) in addition to the standard 3ds Max output elements. These V-Ray bake elements correspond to V-Ray Render Elements.

In 3ds Max 2021 and above, the newer Bake to Texture feature is also available and works with the V-Ray bake elements.


UI Path: Rendering menu >...

||Rendering menu|| > Bake to Texture > Select bake elements > Add Maps to Selected Objects button (for 3ds Max 2021 and newer)



||Rendering menu|| > Render To Texture > Output rollout > Add button > Select bake element > Add Elements button (for older versions of 3ds Max)



Bake Elements


The following bake elements are available through the Add Texture Elements dialog. For information on the type of image or data included in each bake element, see the page for the corresponding Render Element.


Bake ElementCorresponding Render Element

VRayAOMap

VRayAO
VRayBumpNormalsMapVRayBumpNormals
VRayCausticsMapVRayCaustics
VRayCompleteMapRGB_Color
VRayDenoiseMap1VRayDenoiser

VRayDiffuseFilterMap

VRayDiffuseFilter
VRayExtraTexMap 2VRayExtraTex
VRayGlobalIlluminationMapVRayGlobalIllumination
VRayLightingMapVRayLighting
VRayMatteShadowMapVRayMatteShadow
VRayMetalnessMapVRayMetalness
VRayMtlReflectGlossinessBakeVRayMtlReflectGlossiness
VRayMtlReflectHillightGlossinessBakeVRayMtlReflectHighlightGlossiness
VRayMtlReflectIORBakeVRayMtlReflectIOR
VRayMtlRefractGlossinessBakeVRayMtlRefractGlossiness
VRayNormalsMapVRayNormals
VRayRoughnessMapVRayRoughness
VRayRawDiffuseFilterMapVRayRawDiffuseFilter
VRayRawGlobalIlluminationMapVRayRawGlobalIllumination
VRayRawLightingMapVRayRawLighting
VRayRawReflectionFilterMapVRayRawReflectionFilter
VRayRawRefractionFilterMapVRayRawRefractionFilter
VRayRawRefractionMapVRayRawRefraction
VRayRawShadowMapVRayRawShadow
VRayRawTotalLightingMapVRayRawTotalLighting
VRayReflectionMapVRayReflection
VRayReflectionFilterMapVRayReflectionFilter
VRayRefractionFilterMapVRayRefractionFilter
VRayRefractionMapVRayRefraction
VRaySelfIlluminationMapVRaySelfIllumination
VRayShadowMapBakeVRayShadows
VRaySpecularMapVRaySpecular
VRaySSSMapVRaySSS2
VRayTotalLightingMapVRayTotalLighting

Starting with V-Ray 6, Update 2, bake elements have the option to be individually denoised like the other regular render elements.

Notes


1 – Baked textures are denoised via the VRayDenoiseMap bake element: add the VRayDenoiseMap, and then enable the Denoise checkbox of each of the remaining bake elements. Note that the Default V-Ray denoiser is used for the denoising.

2 – The map for this element can only be set through MAX Script. To do that, add the bake element like any other. Open MAXScript listener and type the following code commands:

bp=$.iNodeBakeProperties (You need to have the object selected to perform this command)

bel=bp.GetBakeElement(1) (The number in brackets corresponds to the bake element creation order)

The map is set in the bel.texture property.

3 –  To specify a camera to determine reflections/refractions for texture baking, open the MAXScript listener and type the following:

renderers.current.camera_bakeCamera=$VRayCam001 where the VRayCam001 is the name of the specified camera.

 This option allows you to bake reflections and refractions as if they are visible from a certain camera.