Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebGPURenderer: getTextureLevel of background should multiply maxMipLevel #27820

Merged
merged 2 commits into from
Feb 26, 2024

Conversation

susiwen8
Copy link
Contributor

@susiwen8 susiwen8 commented Feb 26, 2024

Before After
Screen.Recording.2024-02-26.at.14.11.18.mov
Screen.Recording.2024-02-26.at.14.07.22.mov
const equirectTexture = new THREE.TextureLoader().load( 'textures/2294472375_24a3b8ef46_o.jpg' );
equirectTexture.flipY = false;
equirectTexture.mapping = THREE.EquirectangularReflectionMapping;
equirectTexture.colorSpace = THREE.SRGBColorSpace;

scene = new THREE.Scene();
scene.background = equirectTexture;


scene.backgroundBlurriness = .5;
@sunag sunag added this to the r162 milestone Feb 26, 2024
@susiwen8 susiwen8 requested a review from sunag February 26, 2024 07:10
@sunag sunag merged commit a963bf7 into mrdoob:dev Feb 26, 2024
11 checks passed
@susiwen8 susiwen8 deleted the background-blur branch February 26, 2024 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants