# Vray Render to Texture Outputs For Unreal 4

**URL:** <https://forums.chaos.com/t/vray-render-to-texture-outputs-for-unreal-4/99913>\
**Category:** General\
**Created:** [August 6, 2020, 11:21pm UTC](https://forums.chaos.com/t/vray-render-to-texture-outputs-for-unreal-4/99913 "2020-08-06T23:21:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChaseVertebrae](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@ChaseVertebrae](https://forums.chaos.com/u/ChaseVertebrae)\
**Post date:** [August 6, 2020, 11:21pm UTC](https://forums.chaos.com/t/vray-render-to-texture-outputs-for-unreal-4/99913/1 "2020-08-06T23:21:21Z")

</div>

Hello!

My team and I are trying to output Physically Based Rendering (PBR) texture maps for VRay materials inside of 3DSMax 2021.

It seems this is possible due to some documentation written here on the ChaosGroup documentation: (bottom screenshot)  
[[Chaos Docs](https://docs.chaosgroup.com/display/...lectGlossiness)

 ![ReflectionGlossiness.png](https://europe1.discourse-cdn.com/chaosprd/original/3X/a/d/ad0cf1b1f38a18b13ab33a0bd3bd1e00a20e1583.png)]([V-Ray for 3ds Max](https://docs.chaosgroup.com/display/VMAX/VRayMtlReflectGlossiness))

Using the RENDER TO TEXTURE feature we are exporting the following elements:

**Diffuse:** VRayRawDiffuseFilterMap + VRayRawGlobalIlluminationMap  
**Normal:** VRayBumpNormalsMap  
**Roughness:** VRayMtlReflectGlossinessBake (invert result)  
**Metalness:** None

We are struggling with the Roughness and Metalness maps. We are unsure what elements are best for capturing these. Anyone have experience with this process who can provide some insight on what elements we should we be baking out or maybe even another workflow we havent considered?

Thanks!

-Chase

---

<div class="post-metadata">

**Author:** ![hermit.crab](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/hermit.crab/32/46825_2.png) [@hermit.crab](https://forums.chaos.com/u/hermit.crab)\
**Post date:** [August 7, 2020, 4:46pm UTC](https://forums.chaos.com/t/vray-render-to-texture-outputs-for-unreal-4/99913/2 "2020-08-07T16:46:26Z")

</div>

Regarding baking Metalness - check [this topic](https://forums.chaosgroup.com/forum/chaos-common/chaos-common-render-theory/1041139-baking-texture-in-vray-next).  
Regarding baking Roughness, VRayMtlReflectGlossinessBake is the correct element; to get a correct result without the inversion, simply change the VRayMtl’s BRDF to “Use roughness”.
