---
title: "Gain"
url: "https://help.maxon.net/c4d/en-us/Content/html/COM_REDSHIFT3D_REDSHIFT4C4D_NODES_CORE_RSMATHGAIN.html"
section_path: "The Node Editor > Redshift Nodes > Redshift Math Nodes > Math Float Nodes > Gain"
element_id: "COM_REDSHIFT3D_REDSHIFT4C4D_NODES_CORE_RSMATHGAIN"
description: "This page documents the Gain node of the Redshift renderer in Cinema 4D. It adjusts contrast around the mid-point using Ken Perlin's gain curve — …"
---

# Gain

> **Note:** **What is it about?**
>
> This page documents the **Gain node** of the Redshift renderer in **Cinema 4D**. It adjusts contrast around the mid-point using Ken Perlin's gain curve — sharpening or softening masks and gradients with one parameter.

Returns a contrast gain of *Input* by *Gain*, using the following Ken Perlin formula:

Bias( 2 \* *Input*, 1 - *Gain* ) \* 0.5 ; if Input \< 0.5

1 - Bias( 2 - 2 \* *Input*, 1 - *Gain* ) \* 0.5 ; otherwise
