LuciadCPillar C# 2026.1.02
Loading...
Searching...
No Matches
Luciad.Layers.Styles.SimpleShadingModel Class Referencesealed

Shading model that applies simple, non-physically-based lighting to a mesh. More...

Inheritance diagram for Luciad.Layers.Styles.SimpleShadingModel:
Luciad.Layers.Styles.ShadingModel

Classes

class  Builder
 Builder for a SimpleShadingModel. More...

Public Member Functions

Luciad.Layers.Styles.SimpleShadingModel.Builder AsBuilder ()
 Creates a builder for a simple shading model.
Public Member Functions inherited from Luciad.Layers.Styles.ShadingModel
void Dispose ()

Static Public Member Functions

static Luciad.Layers.Styles.SimpleShadingModel.Builder NewBuilder ()
 Creates a new builder for a simple shading model.

Detailed Description

Shading model that applies simple, non-physically-based lighting to a mesh.

The mesh is lit by the map's light (see LightEffect) but without physically based rendering: only the diffuse contribution is computed, while metallic and roughness material properties, as well as reflections from the map's environment map (see EnvironmentMapEffect), are ignored. Use PbrShadingModel for physically based rendering, or pass no shading model to disable shading entirely.

Since
2026.1

Member Function Documentation

◆ AsBuilder()

Luciad.Layers.Styles.SimpleShadingModel.Builder Luciad.Layers.Styles.SimpleShadingModel.AsBuilder ( )
inline

Creates a builder for a simple shading model.

Returns
a builder for a simple shading model.

◆ NewBuilder()

Luciad.Layers.Styles.SimpleShadingModel.Builder Luciad.Layers.Styles.SimpleShadingModel.NewBuilder ( )
inlinestatic

Creates a new builder for a simple shading model.

Returns
a new builder.