My Project
Loading...
Searching...
No Matches
Public Attributes | Properties | List of all members
UnityStandardAssets.ImageEffects.ContrastStretch Class Reference
Inheritance diagram for UnityStandardAssets.ImageEffects.ContrastStretch:

Public Attributes

float adaptationSpeed = 0.02f
 
float limitMinimum = 0.2f
 The limit on the minimum luminance (0...1) - we won't go above this.
 
float limitMaximum = 0.6f
 The limit on the maximum luminance (0...1) - we won't go below this.
 
Shader shaderLum
 
Shader shaderReduce
 
Shader shaderAdapt
 
Shader shaderApply
 

Properties

Material materialLum [get]
 
Material materialReduce [get]
 
Material materialAdapt [get]
 
Material materialApply [get]
 

Member Data Documentation

◆ adaptationSpeed

float UnityStandardAssets.ImageEffects.ContrastStretch.adaptationSpeed = 0.02f

Adaptation speed - percents per frame, if playing at 30FPS. Default is 0.02 (2% each 1/30s).

◆ limitMinimum

float UnityStandardAssets.ImageEffects.ContrastStretch.limitMinimum = 0.2f

The limit on the minimum luminance (0...1) - we won't go above this.

If our scene is really dark (or really bright), we might not want to stretch its contrast to the full range. limitMinimum=0, limitMaximum=1 is the same as not applying the effect at all. limitMinimum=1, limitMaximum=0 is always stretching colors to full range.


The documentation for this class was generated from the following file: