data lighting model
LD edited this page Sep 25, 2020
·
3 revisions
Lighting model defines the type of shading to apply on the object.
The universal lambert diffuse model with optional blinn-phong specular model.
- type: lambert-phong
Diffuse model for object with rough surface, with optional blinn-phong specular model.
- type : oren-nayar
Parameters in appearance:
- roughness : Roughness value of the surface (0: perfectly smooth, equivalent to Lambert)
Legacy Lunar Lambert shading from Celestia to be used on moons and asteroids
- type : lunar-lambert
Parameters in appearance:
- lunar-lambert: Strength of the lunar roughness effect (0: perfectly smooth, equivalent to Lambert)
Flat shading for emissive objects.
- type : flat
Physically based rendering shader, follows glTF specification.
- type : pbr
Custom shader code.
- type : custom
See custom shader modules for the parameters.