VoltAir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups Pages
Properties | List of all members
GrayscaleShaderEffect Class Reference

A shader effect that renders an item in grayscale. More...

Inheritance diagram for GrayscaleShaderEffect:

Properties

Item sourceItem
 Item to be rendered in grayscale. More...
 
real ratio
 Proportion between the original colors and greyscale to output. More...
 

Detailed Description

A shader effect that renders an item in grayscale.

Property Documentation

real GrayscaleShaderEffect::ratio

Proportion between the original colors and greyscale to output.

Note
0.0 indicates no grayscaling. 1.0 is completly monochrome.
Item GrayscaleShaderEffect::sourceItem

Item to be rendered in grayscale.