Package com.luciad.layers.styles
Class SimpleShadingModel
java.lang.Object
com.luciad.layers.styles.ShadingModel
com.luciad.layers.styles.SimpleShadingModel
- All Implemented Interfaces:
AutoCloseable
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
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionCreates a builder for a simple shading model.voidclose()protected voidfinalize()static SimpleShadingModel.BuilderCreates a new builder for a simple shading model.
-
Method Details
-
finalize
protected void finalize()- Overrides:
finalizein classShadingModel
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classShadingModel
-
newBuilder
Creates a new builder for a simple shading model.- Returns:
- a new builder.
-
asBuilder
Creates a builder for a simple shading model.- Returns:
- a builder for a simple shading model.
-