# vraysamplerinfotex without using RE?

**URL:** <https://forums.chaos.com/t/vraysamplerinfotex-without-using-re/39388>\
**Category:** Issues\
**Created:** [November 18, 2011, 12:55pm UTC](https://forums.chaos.com/t/vraysamplerinfotex-without-using-re/39388 "2011-11-18T12:55:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![3dwolf](https://avatars.discourse-cdn.com/v4/letter/3/ecae2f/32.png) [@3dwolf](https://forums.chaos.com/u/3dwolf)\
**Post date:** [November 18, 2011, 12:55pm UTC](https://forums.chaos.com/t/vraysamplerinfotex-without-using-re/39388/1 "2011-11-18T12:55:49Z")

</div>

Hi,  
I would like to render out a VraySamplerInfoTex-point-world-pass without using render elements.

First try was max-standard-material with VraySamplerInfoTex as diffuse and 100 self-illumination.  
Second try used the VRayLightMtl.

In both cases all three RGB-values become zero as soon as two of them are negative.

[see image](http://www.3dwolf.de/stuff/VraySampleInfoTexPoint_diffuse-vs-re.jpg) left 100%selfillu or lightmat … right RenderElement ExtraTex  
(it is a lattice-box 200x200x200 at 0,0,-100)

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [November 18, 2011, 1:11pm UTC](https://forums.chaos.com/t/vraysamplerinfotex-without-using-re/39388/2 "2011-11-18T13:11:11Z")

</div>

Are you using the 3ds Max frame buffer, or the V-Ray one? What file format are you saving the image to?

In any case, there is the possibility that V-Ray will clamp the result of any material evaluation to be always non-negative (negative material colors typically indicate an error in the shader and in a normal scene lead to all sorts of issues, especially with GI).

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![3dwolf](https://avatars.discourse-cdn.com/v4/letter/3/ecae2f/32.png) [@3dwolf](https://forums.chaos.com/u/3dwolf)\
**Post date:** [November 18, 2011, 2:51pm UTC](https://forums.chaos.com/t/vraysamplerinfotex-without-using-re/39388/3 "2011-11-18T14:51:36Z")

</div>

If I am not too confused both should have been tested.  
I want to save as full-float exr.  
Not everything is clamped.

Here is a link to my great test-scene for the point-pass-clamping.  
[http://www.3dwolf.de/stuff/VraySampleInfoTexPoint\_MtlPass\_noRE.max](http://www.3dwolf.de/stuff/VraySampleInfoTexPoint%5C_MtlPass%5C_noRE.max)  
Also notice that it seems to work in the medit-preview on the 3rd material which is the vray-mat. But as I am not really a heavy VRay-user there might be some simple mistakes an not-knowing-errors.

I would have no problem with render elements if the max-exr-configuration would work reliable in backburnerrendering. It seems to ignore or mess up the colordepth and RE-settings on different jobs. But I guess that is a hole different issue.

Regards,  
Wolf
