Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
MaterialBinaryOperand.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using SiliconStudio.Core;
4 
5 namespace SiliconStudio.Paradox.Assets.Materials.Nodes
6 {
7  /// <summary>
8  /// Operands of the MaterialNode.
9  /// </summary>
10  [DataContract("MaterialBinaryOperand")]
12  {
13  /// <summary>
14  /// Do nothing on the first texture.
15  /// </summary>
16  None,
17 
18  /// <summary>
19  /// Add of the two textures.
20  /// </summary>
21  Add,
22 
23  /// <summary>
24  /// Average of the two textures.
25  /// </summary>
26  Average,
27 
28  /// <summary>
29  /// Color effect from the two textures.
30  /// </summary>
31  Color,
32 
33  /// <summary>
34  /// Color burn effect from the two textures.
35  /// </summary>
36  ColorBurn,
37 
38  /// <summary>
39  /// Color dodge effect from the two textures.
40  /// </summary>
41  ColorDodge,
42 
43  /// <summary>
44  /// Darken effect from the two textures.
45  /// </summary>
46  Darken,
47 
48  /// <summary>
49  /// Desaturate effect from the two textures.
50  /// </summary>
51  Desaturate,
52 
53  /// <summary>
54  /// Difference of the two textures.
55  /// </summary>
56  Difference,
57 
58  /// <summary>
59  /// Divide first texture with the second one.
60  /// </summary>
61  Divide,
62 
63  /// <summary>
64  /// Exclusion effect from the two textures.
65  /// </summary>
66  Exclusion,
67 
68  /// <summary>
69  /// Hard light effect from the two textures.
70  /// </summary>
71  HardLight,
72 
73  /// <summary>
74  /// hard mix effect from the two textures.
75  /// </summary>
76  HardMix,
77 
78  /// <summary>
79  /// Hue effect from the two textures.
80  /// </summary>
81  Hue,
82 
83  /// <summary>
84  /// Illuminate effect from the two textures.
85  /// </summary>
86  Illuminate,
87 
88  /// <summary>
89  /// In effect from the two textures.
90  /// </summary>
91  In,
92 
93  /// <summary>
94  /// Lighten effect from the two textures.
95  /// </summary>
96  Lighten,
97 
98  /// <summary>
99  /// Linear burn effect from the two textures.
100  /// </summary>
101  LinearBurn,
102 
103  /// <summary>
104  /// Linear dodge effect from the two textures.
105  /// </summary>
106  LinearDodge,
107 
108  /// <summary>
109  /// Apply mask from second texture to the first one.
110  /// </summary>
111  Mask,
112 
113  /// <summary>
114  /// Multiply the two textures.
115  /// </summary>
116  Multiply,
117 
118  /// <summary>
119  /// Take color for the first texture and use alpha = 1
120  /// </summary>
121  Opaque,
122 
123  /// <summary>
124  /// Out effect from the two textures.
125  /// </summary>
126  Out,
127 
128  /// <summary>
129  /// Over effect from the two textures.
130  /// </summary>
131  Over,
132 
133  /// <summary>
134  /// Overlay effect from the two textures.
135  /// </summary>
136  Overlay,
137 
138  /// <summary>
139  /// Pin light effect from the two textures.
140  /// </summary>
141  PinLight,
142 
143  /// <summary>
144  /// Saturate effect from the two textures.
145  /// </summary>
146  Saturate,
147 
148  /// <summary>
149  /// Saturation effect from the two textures.
150  /// </summary>
151  Saturation,
152 
153  /// <summary>
154  /// Screen effect from the two textures.
155  /// </summary>
156  Screen,
157 
158  /// <summary>
159  /// Soft light effect from the two textures.
160  /// </summary>
161  SoftLight,
162 
163  /// <summary>
164  /// Subtract the two textures.
165  /// </summary>
166  Subtract,
167 
168  /// <summary>
169  /// Take color for the first texture but alpha from the second
170  /// </summary>
172 
173  //TODO: lerp, clamp ?
174  }
175 }
Hue effect from the two textures.
Screen effect from the two textures.
Illuminate effect from the two textures.
Apply mask from second texture to the first one.
Over effect from the two textures.
Color burn effect from the two textures.
Take color for the first texture but alpha from the second
Take color for the first texture and use alpha = 1
Saturation effect from the two textures.
MaterialBinaryOperand
Operands of the MaterialNode.
SiliconStudio.Core.Mathematics.Color Color
Definition: ColorPicker.cs:14
Saturate effect from the two textures.
Exclusion effect from the two textures.
Overlay effect from the two textures.
Soft light effect from the two textures.
Hard light effect from the two textures.
Linear dodge effect from the two textures.
Desaturate effect from the two textures.
Linear burn effect from the two textures.
hard mix effect from the two textures.
Pin light effect from the two textures.
Color dodge effect from the two textures.
Darken effect from the two textures.
Lighten effect from the two textures.