Color Exponent

 
 
 

Category: Processing > Math

Shader Family: Texture

Output: Color

Performs an exponential operation of your choice on a color, shader, or texture using either an RGBA factor or another shader.

Name

The shader's name. Enter any name you like, or leave the default.

Input

Defines the color, shader, or texture input.

Factor

Defines the factor to be used in the exponential operation.

Operation

Lets you define the type of exponential operation the shader will perform.

Exponent: Uses a simple exponential power operation, where input 1 is the base to the power of the factor input.

Logarithm: The inverse of power.

Bias: Uses the Factor input to specify the amount of bias. The bias should be seen as a Contrast function. 0 for darkest; 1 for lightest.

Gain: Uses the Factor input to specify the level of gain to be applied, ranging from 0 to 1.

Apply to Alpha

Uses an input alpha as RGB values.

Render Tree Usage

Used to connect one or two shaders (textures, materials, other math shaders, etc.) to the Input parameters. Once a function is selected, the output can be used on any shader that accepts a color input.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License