Update VideoTexture doc with note about using RGBA format to avoid Firefox...
Update VideoTexture doc with note about using RGBA format to avoid Firefox performance issue. (#21746) * VideoTexture should use RGBA format to avoid firefox issue. There's an issue with Firefox desktop that causes RGBFormat on a video texture to destroy performance. When testing with a single 4K 360 video, frame times on Firefox with RGBFormat were ~200x RGBAFormat. (62ms vs .32ms) I propose defaulting to RGBAFormat to avoid this. * Revert VideoTexture.js changes. * Update VideoTexture doc with 'format' default value and note about a Firefox bug.
Showing
想要评论请 注册 或 登录