LuciadCPillar 2026.1.02
Loading...
Searching...
No Matches
luciad::SimpleShadingModel Class Referencefinal

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

#include <luciad/layers/styles/ShadingModel.h>

Inheritance diagram for luciad::SimpleShadingModel:
luciad::ShadingModel

Classes

class  Builder
 Builder for a luciad::SimpleShadingModel. More...

Public Member Functions

 ~SimpleShadingModel () override
Builder asBuilder () const
 Creates a builder for a simple shading model.
Public Member Functions inherited from luciad::ShadingModel
 ShadingModel (const ShadingModel &)=delete
virtual ~ShadingModel ()=default
ShadingModel & operator= (const ShadingModel &)=delete

Static Public Member Functions

static Builder newBuilder ()
 Creates a new builder for a simple shading model.

Additional Inherited Members

Protected Member Functions inherited from luciad::ShadingModel
 ShadingModel ()=default
 Default constructor.

Detailed Description

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

The mesh is lit by the map's light (see luciad::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 luciad::EnvironmentMapEffect), are ignored. Use luciad::PbrShadingModel for physically based rendering, or pass no shading model to disable shading entirely.

Since
2026.1

Constructor & Destructor Documentation

◆ ~SimpleShadingModel()

luciad::SimpleShadingModel::~SimpleShadingModel ( )
override

Member Function Documentation

◆ asBuilder()

Builder luciad::SimpleShadingModel::asBuilder ( ) const

Creates a builder for a simple shading model.

Returns
a builder for a simple shading model.

◆ newBuilder()

Builder luciad::SimpleShadingModel::newBuilder ( )
static

Creates a new builder for a simple shading model.

Returns
a new builder.