Skip to content

WebGPU support #1

@leon

Description

@leon

Hi!

I have started playing around with webgpu and would love for your plugin to support it too.
The three.js info object looks the same in webgpu, and the performance stuff is the same.

Maybe it wouldn't be so hard to check which renderer is being used and add support for webgpu as well?

import WebGPU from 'three/addons/capabilities/WebGPU.js';
import WebGPURenderer from 'three/addons/renderers/webgpu/WebGPURenderer.js';

if (WebGPU.isAvailable()) {
	console.info('WebGPU support available');
}

const webgpuRenderer = new WebGPURenderer({
	canvas,
	antialias: true,
	logarithmicDepthBuffer: true
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions