Set default environmentIntensity when changing background mode to image
This commit is contained in:
@@ -156,7 +156,8 @@ export function changeWorldBackgroundMode(
|
||||
|
||||
return {
|
||||
mode: "image",
|
||||
assetId: imageAssetId
|
||||
assetId: imageAssetId,
|
||||
environmentIntensity: background.mode === "image" ? background.environmentIntensity : 0.5
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user