|
@@ -607,6 +607,11 @@ export abstract class Light extends Node {
|
|
light._waitingParentId = parsedLight.parentId;
|
|
light._waitingParentId = parsedLight.parentId;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ // Falloff
|
|
|
|
+ if (parsedLight.falloffType !== undefined) {
|
|
|
|
+ light.falloffType = parsedLight.falloffType;
|
|
|
|
+ }
|
|
|
|
+
|
|
// Lightmaps
|
|
// Lightmaps
|
|
if (parsedLight.lightmapMode !== undefined) {
|
|
if (parsedLight.lightmapMode !== undefined) {
|
|
light.lightmapMode = parsedLight.lightmapMode;
|
|
light.lightmapMode = parsedLight.lightmapMode;
|