# Basic Question: What is 'Color Clamping' in VFB?

**URL:** <https://forums.chaos.com/t/basic-question-what-is-color-clamping-in-vfb/85160>\
**Category:** General\
**Created:** [October 6, 2017, 2:14am UTC](https://forums.chaos.com/t/basic-question-what-is-color-clamping-in-vfb/85160 "2017-10-06T02:14:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevejjd](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/stevejjd/32/62214_2.png) [@stevejjd](https://forums.chaos.com/u/stevejjd)\
**Post date:** [October 6, 2017, 2:14am UTC](https://forums.chaos.com/t/basic-question-what-is-color-clamping-in-vfb/85160/1 "2017-10-06T02:14:52Z")

</div>

Hi all.

I’m just curious about something.

The help documents does say what Force Clamping is, [Chaos Docs](https://docs.chaosgroup.com/display/VRAY3MAX/V-Ray+Frame+Buffer+%7C+VFB)

But I still don’t get what it is. What is it clamping and why?

Thanks

Steve ~

---

<div class="post-metadata">

**Author:** ![stupendousman\_dk](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/stupendousman_dk/32/65980_2.png) [@stupendousman\_dk](https://forums.chaos.com/u/stupendousman_dk)\
**Post date:** [October 6, 2017, 8:12am UTC](https://forums.chaos.com/t/basic-question-what-is-color-clamping-in-vfb/85160/2 "2017-10-06T08:12:26Z")

</div>

It is not always visible to the human eye. it has to do with clamping the color values.  
Normally you work in 8-bit color per channel (rgba eg.)  
The framebuffer shows / works in much more, 16 or 32-bits (floating point) of color per channel.

when you clamp this, you are only saving the values in the space of 0-255 per channel.  
when working in higher bpc you are seeing real values in the spectum 0-1 instead. But with a lot of decimals.

it is my understanding you clamp this in the vfb, so you will not get a highlight with an extremely high value, which can cause trouble in post production.

if you are saving the render in a 8 bpc format, it will be clamped anyway. so by forcing it you get a clamped color space even though the format could hold more data.

just realised this doesnt fully answer your question, but it is what i can contribute with

---

<div class="post-metadata">

**Author:** ![stevejjd](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/stevejjd/32/62214_2.png) [@stevejjd](https://forums.chaos.com/u/stevejjd)\
**Post date:** [October 6, 2017, 9:23am UTC](https://forums.chaos.com/t/basic-question-what-is-color-clamping-in-vfb/85160/3 "2017-10-06T09:23:06Z")

</div>

Thanks a lot for that explanation:)
