Skip to content

Commit

Permalink
WebGLMultipleRenderTargets: Example fix iOS with MSAA (#24141)
Browse files Browse the repository at this point in the history
* WebGLMultipleRenderTargets: Example fix iOS with MSAA

There is another issue only on iOS, some texture types will break in certain cases. I don't have an explanation of the why, I think it's just a bug.

Also, there was an issue with Safari which was fixed in the latest version (15.5) where it was required to clear the canvas before rendering the scene. I only added comments since this issue has been patched, should we add it anyway?

* Update webgl2_multiple_rendertargets.html
  • Loading branch information
RenaudRohlinger authored May 30, 2022
1 parent b97fd12 commit dfd10cb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/webgl2_multiple_rendertargets.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@

renderTarget.texture[ i ].minFilter = THREE.NearestFilter;
renderTarget.texture[ i ].magFilter = THREE.NearestFilter;
renderTarget.texture[ i ].type = THREE.FloatType;

}

Expand Down

0 comments on commit dfd10cb

Please sign in to comment.