Show / Hide Table of Contents

Class FuseeSsaoHelper

Defines methods for creating the SSAO kernel and the noise texture.

Inheritance
System.Object
FuseeSsaoHelper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.Engine.Core
Assembly: Fusee.Engine.Core.dll
Syntax
public static class FuseeSsaoHelper

Methods

CreateKernel(Int32)

Creates a hemispherical kernel with more samples closer to the center.

Declaration
public static float3[] CreateKernel(int kernelSize)
Parameters
Type Name Description
System.Int32 kernelSize

Number of samples.

Returns
Type Description
float3[]

CreateNoiseTex(Int32)

Creates a noise texture.

Declaration
public static Texture CreateNoiseTex(int texSize)
Parameters
Type Name Description
System.Int32 texSize

Width and height of the texture.

Returns
Type Description
Texture
Generated by DocFX
GitHub Repo
Back to top