refactor: bỏ LQIP nhánh chuyển cảnh (không hiển thị), giữ blur-up cảnh đầu
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1653,11 +1653,6 @@ function TourExperience({
|
|||||||
if (cachedTexture) {
|
if (cachedTexture) {
|
||||||
prepareTransitionTexture(cachedTexture);
|
prepareTransitionTexture(cachedTexture);
|
||||||
} else {
|
} else {
|
||||||
const lqipTexture = loadLqipTexture(scene.image);
|
|
||||||
if (lqipTexture) {
|
|
||||||
transitionMaterial.map = lqipTexture;
|
|
||||||
transitionMaterial.needsUpdate = true;
|
|
||||||
}
|
|
||||||
loadPanoramaTexture(scene.image, (progress) => {
|
loadPanoramaTexture(scene.image, (progress) => {
|
||||||
if (transitionTokenRef.current === token) {
|
if (transitionTokenRef.current === token) {
|
||||||
setLoadProgress(progress);
|
setLoadProgress(progress);
|
||||||
|
|||||||
Reference in New Issue
Block a user