# Preset for shadow bias for VraySun

**URL:** <https://forums.chaos.com/t/preset-for-shadow-bias-for-vraysun/101614>\
**Category:** General\
**Created:** [November 13, 2020, 9:59am UTC](https://forums.chaos.com/t/preset-for-shadow-bias-for-vraysun/101614 "2020-11-13T09:59:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![3d-laboratory](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/3d-laboratory/32/72830_2.png) [@3d-laboratory](https://forums.chaos.com/u/3d-laboratory)\
**Post date:** [November 13, 2020, 9:59am UTC](https://forums.chaos.com/t/preset-for-shadow-bias-for-vraysun/101614/1 "2020-11-13T09:59:37Z")

</div>

I don´t understand why shadow bias for VraySun has a preset of 0,2m. In the nature our sun has a preset for the shadow bias of 0,000m 😉 Is there a possibility to edit this preset? And can me tell anybody why it is set to 0,2m in Vray? Is there a cause?

---

<div class="post-metadata">

**Author:** ![nikoleta.garkova](https://avatars.discourse-cdn.com/v4/letter/n/b4bc9f/32.png) [@nikoleta.garkova](https://forums.chaos.com/u/nikoleta.garkova)\
**Post date:** [November 13, 2020, 10:30am UTC](https://forums.chaos.com/t/preset-for-shadow-bias-for-vraysun/101614/2 "2020-11-13T10:30:18Z")

</div>

Hi @3d-laboratory

Yes, you can change the value as you see fit. To read more about Shadow bias and get some examples, you can visit: [https://docs.chaosgroup.com/display/VMAX/VRaySun#VRaySun-Sampling](https://docs.chaosgroup.com/display/VMAX/VRaySun#VRaySun-Example:ShadowBias)  
Last but not least, being set by default to a particular value is after our devs and QAs have made extensive tests and have concluded that this would be the most effective and accurate respective value.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![3d-laboratory](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/3d-laboratory/32/72830_2.png) [@3d-laboratory](https://forums.chaos.com/u/3d-laboratory)\
**Post date:** [November 13, 2020, 11:37am UTC](https://forums.chaos.com/t/preset-for-shadow-bias-for-vraysun/101614/3 "2020-11-13T11:37:34Z")

</div>

Thank you for the quick answer. As I work for a long time in this field I sometimes wonder about the high values of this preset. Also mentalray had a preset of 0,25 m. To illustrate what happens with bias of 0,2 and 0,0 see the picture below. If you have small objekts on a facade lit by VRaySun in a sharp angle shadows are absolutely absent with a bias of 0,2m.

 ![BIAS.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/d/f/dfa48d6801b68bda43f5a2fc3c4a819d6c59de23.jpeg)

---

<div class="post-metadata">

**Author:** ![matanov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/matanov/32/21656_2.png) [@matanov](https://forums.chaos.com/u/matanov)\
**Post date:** [November 13, 2020, 12:49pm UTC](https://forums.chaos.com/t/preset-for-shadow-bias-for-vraysun/101614/4 "2020-11-13T12:49:19Z")

</div>

The issue in this case comes from your units setup. The default value is “0,2 \<units\>” and in most cases people work in units that fit their scene type. For example for single buildings or interiors - centimeters/inches so that bias is almost not visible while protecting them from shading problems. We can think of keeping it constantly to something small regardless of the units setup, but that might create problems for people working with large scenes (f.e. few kilometers long).

---

<div class="post-metadata">

**Author:** ![3d-laboratory](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/3d-laboratory/32/72830_2.png) [@3d-laboratory](https://forums.chaos.com/u/3d-laboratory)\
**Post date:** [November 13, 2020, 1:14pm UTC](https://forums.chaos.com/t/preset-for-shadow-bias-for-vraysun/101614/5 "2020-11-13T13:14:00Z")

</div>

I thought somthing like this allready, but my system units are meters and my diplay units as well. And in the bias slot I can read “0,2m”. So it seemed to be the same scale for me. And so also the results are. If bias is 0,2m the ojbects shadow begins 0,2m behind it. It is no problem for me, but it is one thing that I have to have in my head inserting a VRaySun to the scene.

---

<div class="post-metadata">

**Author:** ![Morne](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/morne/32/11335_2.png) [@Morne](https://forums.chaos.com/u/Morne)\
**Post date:** [November 13, 2020, 9:36pm UTC](https://forums.chaos.com/t/preset-for-shadow-bias-for-vraysun/101614/6 "2020-11-13T21:36:53Z")

</div>

nevermind…
