Skip to content

Conversation

Spiri0
Copy link
Contributor

@Spiri0 Spiri0 commented Dec 13, 2024

I only added a background because sunag fixed the reflection issue. Previously, when you used fromScene, the environment was incorrectly reflected, which was not noticeable because the beckground was set to null.
This couldn't be noticed with the spheres because the upside down reflection looked the same because of their color.

I actually wanted to look at the position topic as a parameter #30071 , but I don't want to make any promises that I can't keep. I am largely a user and am very busy with my projects

Spiri0 added 13 commits December 2, 2024 07:48
Arrays are not currently taken into account by the wgslTypeLib. However, with the struct extension mrdoob#29908, arrays will also become important as a type.
Since textureSampleLevel is usable in compute shaders, this small PR allows sampler to be used in compute shaders for this purpose
enables the use of samplers in compute shaders
add background to environment reflection
@sunag sunag changed the title Add background to pmrem scene example Examples: Add background to webgpu_pmrem_scene Dec 13, 2024
@sunag sunag added this to the r172 milestone Dec 13, 2024
@sunag sunag merged commit 724a8bf into mrdoob:dev Dec 13, 2024
11 checks passed
@Spiri0 Spiri0 deleted the update-PMREM-scene-example branch December 14, 2024 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants