Skip to content

Texture: Performance issues with hardware sRGB decode. #26183

@clementroche

Description

@clementroche

Description

Since 0.152.0 VideoTexture takes a lot of GPU ressources, the larger the video the slower it gets.

Windows 11
NVIDIA GeForce RTX 3060 Ti

Maybe related to this commit https://github.com/mrdoob/three.js/pull/25752/commits
cc @donmccurdy

Reproduction steps

Open Chrome Devtools performance tab in v0.152.2 and you gonna notice GPU is busy

Code

See live examples

Live example

v0.152.2 https://codesandbox.io/s/three-0-152-2-videotexture-mj2y8m (bad performance)
v0.151.3 https://codesandbox.io/s/three-0-151-3-videotexture-1et5sq (good performance)

Screenshots

image

Version

">= 0.152.0"

Device

No response

Browser

Chrome

OS

Windows

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions