Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Assembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)
Describe possible transparency modes of EffectsMaterial.
Namespace: Visual3D.Graphics3DAssembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# | Visual Basic |
public enum TransparencyMode
Public Enumeration TransparencyMode
Members
| Member | Value | Description |
|---|---|---|
| Opaque | 0 |
Material is non-transparent.
|
| Additive | 1 |
Color of each rendered pixel will be added to existing scene pixel.
|
| Modulative | 2 |
Color of each rendered pixel will be multiplified with existing scene pixel.
|
| AlphaTransparency | 3 |
Color of each rendered pixel will be multiplified by it's alpha channel
and result will be added to scene pixel
|
| PatternTransparency | 4 |
Same as CrispPatternTransparency.
|
| CrispPatternTransparency | 4 |
Alpha test based transparency, crisp edges.
|
| SmoothPatternTransparency | 5 |
Combined alpha test and alpha blending, does not require transparency sorting
but number of render passes is 2x if compared to any other transparency mode.
|