Mapbox3DTiles: added new parameter which sets different lighting options.
The lighting option can be set to 'ambient', 'hemisphere' or 'directional'. Leaving this option open results to no lighting.
Example:
{
id: 'id',
url: 'tileset.json',
lighting: 'ambient'
}
The added lighting_example.html showcases the 3 options.
ambient_emissive.html is removed.
Mapbox3DTiles: added new parameter which sets different lighting options. The lighting option can be set to 'ambient', 'hemisphere' or 'directional'. Leaving this option open results to no lighting. Example: { id: 'id', url: 'tileset.json', lighting: 'ambient' }
The added lighting_example.html showcases the 3 options. ambient_emissive.html is removed.