auto-git:
[change] src/rendering/world-background-renderer.ts
This commit is contained in:
@@ -78,7 +78,7 @@ export function resolveWorldEnvironmentState(
|
|||||||
overlayOpacity < 1 - NIGHT_BACKGROUND_EPSILON
|
overlayOpacity < 1 - NIGHT_BACKGROUND_EPSILON
|
||||||
) {
|
) {
|
||||||
return {
|
return {
|
||||||
texture: overlayOpacity < 0.5 ? baseTexture : overlayTexture,
|
texture: baseTexture,
|
||||||
intensity: lerp(baseIntensity, overlayIntensity, overlayOpacity)
|
intensity: lerp(baseIntensity, overlayIntensity, overlayOpacity)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user