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: NodeMaterial - Fix fog=false and snow example #28718

Merged
merged 3 commits into from
Jun 21, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
update filter
  • Loading branch information
sunag committed Jun 21, 2024
commit b53db7af325ce43e9750aad113ea70c501633147
2 changes: 2 additions & 0 deletions examples/webgpu_compute_particles_snow.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@

collisionPosRT = new THREE.RenderTarget( 1024, 1024 );
collisionPosRT.texture.type = THREE.HalfFloatType;
collisionPosRT.texture.magFilter = THREE.NearestFilter;
collisionPosRT.texture.minFilter = THREE.NearestFilter;

collisionPosMaterial = new MeshBasicNodeMaterial();
collisionPosMaterial.fog = false;
Expand Down