IMHOTEP Framework
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Public Attributes | Properties | List of all members
UnityStandardAssets.ImageEffects.ContrastStretch Class Reference
Inheritance diagram for UnityStandardAssets.ImageEffects.ContrastStretch:
Inheritance graph
[legend]
Collaboration diagram for UnityStandardAssets.ImageEffects.ContrastStretch:
Collaboration graph
[legend]

Public Attributes

float adaptationSpeed = 0.02f
 
float limitMinimum = 0.2f
 The limit on the minimum luminance (0...1) - we won't go above this. More...
 
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]
 

Detailed Description

Definition at line 8 of file ContrastStretch.cs.

Member Data Documentation

float UnityStandardAssets.ImageEffects.ContrastStretch.adaptationSpeed = 0.02f

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

Definition at line 13 of file ContrastStretch.cs.

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.

Definition at line 22 of file ContrastStretch.cs.


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