Paradox Game Engine
v1.0.0 beta06
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Events
Macros
Pages
SSAOKeys.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.Paradox.Graphics;
4
5
namespace
SiliconStudio.
Paradox
.Effects.Modules
6
{
7
/// <summary>
8
/// Keys used for texturing.
9
/// </summary>
10
public
static
class
SSAOKeys
11
{
12
/// <summary>
13
/// Source texture.
14
/// </summary>
15
public
static
readonly
ParameterKey<Texture>
Texture
= ParameterKeys.New<
Texture
>();
16
17
/// <summary>
18
/// Intensity of the ambient occlusion.
19
/// </summary>
20
public
static
readonly
ParameterKey<float>
Intensity = ParameterKeys.New(4.0f);
21
22
/// <summary>
23
/// Size of the sampling radius where random samples will be taken.
24
/// </summary>
25
public
static
readonly
ParameterKey<float>
SamplingRadius = ParameterKeys.New(5.0f);
26
27
/// <summary>
28
/// Scale distance between occluder and occludee.
29
/// </summary>
30
public
static
readonly
ParameterKey<float>
Scale = ParameterKeys.New(0.1f);
31
32
/// <summary>
33
/// Width of the occlusion cone for occludee
34
/// </summary>
35
public
static
readonly
ParameterKey<float>
Bias = ParameterKeys.New(0.05f);
36
37
/// <summary>
38
/// Self occlusion factors. TODO comment this field.
39
/// </summary>
40
public
static
readonly
ParameterKey<float>
SelfOcclusion = ParameterKeys.New(0.3f);
41
}
42
}
SiliconStudio.Paradox.Effects.ParameterKey
Key of an effect parameter.
Definition:
ParameterKey.cs:15
SiliconStudio.Paradox.Effects.Modules.SSAOKeys
Keys used for texturing.
Definition:
SSAOKeys.cs:10
SiliconStudio.Paradox.Graphics.Paradox
Paradox image file.
SiliconStudio.Paradox.Graphics.Texture
Base class for texture resources.
Definition:
Texture.cs:38
sources
shaders
SSAOKeys.cs
Generated on Sat Dec 20 2014 21:51:37 for Paradox Game Engine by
1.8.7