---
title: "Vector Gain"
url: "https://help.maxon.net/c4d/en-us/Content/html/COM_REDSHIFT3D_REDSHIFT4C4D_NODES_CORE_RSMATHGAINVECTOR.html"
section_path: "The Node Editor > Redshift Nodes > Redshift Math Nodes > Math Vector Nodes > Vector Gain"
element_id: "COM_REDSHIFT3D_REDSHIFT4C4D_NODES_CORE_RSMATHGAINVECTOR"
description: "This page describes the Vector Gain node of the Redshift renderer in Cinema 4D. It applies contrast gain to each vector component using its matching gain …"
---

# Vector Gain

> **Note:** **What is it about?**
>
> This page describes the **Vector Gain node** of the Redshift renderer in **Cinema 4D**. It applies contrast gain to each vector component using its matching gain value — per-axis contrast shaping of vector data.

Returns a contrast gain of *Input* by *Gain*, using the following Ken Perlin formula:

Bias( 2 \* *Input* - *Gain* ) \* 0.5 ; if Input \< 0.5

1 - Bias( 2 - 2 \* *Input* - *Gain* ) \* 0.5 ; otherwise

*Gain* and *Input* components should be in the range between 0.0 and 1.0
