Gaussian

Description

sealed class Tinman.Demo.Shaders.Gaussian

Derived from

GpuCode abstract

Full source code is included in the Tinman 3D SDK download.

The render effect code used by Example_GaussianParameters.

Public / Methods

PS


[If("!HLSL_DX9")] [PixelShader]
public static method PS → (1)

data in : PS_In_Gaussian

The shader input.

returns → PS_Out_Target

The shader output.

The pixel shader for 3D Gaussian splatting, based on splatVertex.glsl:
https://github.com/sparkjsdev/spark/blob/main/src/shaders/splatFragment.glsl

VS


[If("!HLSL_DX9")] [VertexShader]
public static method VS → (2)

vertex in : VS_In

The billboard vertex.

splat in : VS_In_Gaussian

The splat data.

returns → PS_In_Gaussian

The shader output.

The vertex shader for 3D Gaussian splatting, based on splatVertex.glsl:
https://github.com/sparkjsdev/spark/blob/main/src/shaders/splatVertex.glsl