cesium icon indicating copy to clipboard operation
cesium copied to clipboard

WebGPU renderer

Open pjcozzi opened this issue 8 years ago • 22 comments

This is a long-term roadmap issue to track development of NXT, the NeXT generation graphics API for the Web (similar to #797 for WebGL 2).

  • https://github.com/gpuweb/nxt-standalone

pjcozzi avatar Feb 10 '17 20:02 pjcozzi

NXT is the old name. This is WebGPU now. https://en.wikipedia.org/wiki/WebGPU

pjcozzi avatar Jan 25 '19 21:01 pjcozzi

pjcozzi avatar Jan 09 '20 13:01 pjcozzi

  • Advice to start using WebGL 2 uniform buffers to ease migration to WebGPU. https://twitter.com/Tojiro/status/1340503959321018368

pjcozzi avatar Dec 22 '20 13:12 pjcozzi

WebGPU is coming to chromium: https://blog.chromium.org/2021/08/chrome-94-beta-webcodecs-webgpu.html. They announce a plan to ship in chrome 99, early 2022.

gberaudo avatar Aug 30 '21 08:08 gberaudo

pjcozzi avatar Oct 18 '21 21:10 pjcozzi

When will it be released?🤔️ I'm... looking... forward....to...it.....😄

indeexx avatar Jun 23 '22 07:06 indeexx

Hi @indeexx, we don't have any immediate plans to start work on this. We'll likely update this issue when we do. Let us know if you have any thoughts or questions regarding the implementation in the meantime. Thanks!

ggetz avatar Jun 30 '22 15:06 ggetz

Do we have some plan for this feature?

tlightsky avatar Mar 21 '23 02:03 tlightsky

It's about to be released. Any progress?

an501920078 avatar Apr 26 '23 09:04 an501920078

Any news on this? Chrome 113 is released with WebGPU enabled!

tubzby avatar May 05 '23 01:05 tubzby

Recently, I have been researching WebGPU, a new API for the web that exposes modern computer graphics capabilities, specifically GPU computing, to the Web. From my understanding, it has the potential to greatly enhance the performance of web-based graphics applications.

The capabilities of WebGPU, such as its high-efficiency rendering pipeline, low overhead, and better hardware utilization, seem to provide an exciting avenue for performance improvements in Cesium. Moreover, with its promise of providing a unified standard across different platforms and devices, I believe it can make Cesium more robust and versatile.

Given the enormous potential WebGPU has to offer, I kindly urge you to consider conducting research into integrating WebGPU into Cesium. Not only could this greatly improve Cesium's performance, but it could also put Cesium at the forefront of web graphics technology, enhancing its reputation as a pioneering platform in this field.

Thank you for considering my proposal. I look forward to witnessing the continued growth and evolution of Cesium.

criyson avatar May 05 '23 13:05 criyson

@ggetz

Recently, I have been researching WebGPU, a new API for the web that exposes modern computer graphics capabilities, specifically GPU computing, to the Web. From my understanding, it has the potential to greatly enhance the performance of web-based graphics applications.

The capabilities of WebGPU, such as its high-efficiency rendering pipeline, low overhead, and better hardware utilization, seem to provide an exciting avenue for performance improvements in Cesium. Moreover, with its promise of providing a unified standard across different platforms and devices, I believe it can make Cesium more robust and versatile.

Given the enormous potential WebGPU has to offer, I kindly urge you to consider conducting research into integrating WebGPU into Cesium. Not only could this greatly improve Cesium's performance, but it could also put Cesium at the forefront of web graphics technology, enhancing its reputation as a pioneering platform in this field.

Thank you for considering my proposal. I look forward to witnessing the continued growth and evolution of Cesium.

criyson avatar May 05 '23 13:05 criyson

Any new news?

jinjun1994 avatar May 11 '23 09:05 jinjun1994

You can pay attention to GEngine, which has a similar rendering layer package to cesium example:

			const drawCommand = new DrawCommand({
				vertexBuffers: geometry.vertexBuffers,
				indexBuffer: geometry.indexBuffer,
				shaderData: material.shaderData,
				drawParams: {
					count: geometry.count,
					instanceCount: 1
				},
				renderState: material.renderState,
				shaderSource: material.shaderSource,
				useLight: material.light
			});

ruofeng618 avatar Jul 31 '23 08:07 ruofeng618

Any news on this?

itancc avatar Sep 18 '23 08:09 itancc

Any news on this? We have fundamentals here https://webgpufundamentals.org/ and there are documents on MDN. WebGPU API has full support on Chrome and Edge now.

s3xysteak avatar Oct 08 '24 01:10 s3xysteak

@s3xysteak We don't have any concrete plans at the moment, but are definitely excited for this to happen at some point.

If you are interesting in contributing, maybe working on a prototype of CesiumJS using WebGPU, please let us know and we'd be happy to discuss. Thanks!

ggetz avatar Oct 11 '24 15:10 ggetz

Interest on the forum: https://community.cesium.com/t/does-cesiumjs-had-support-webgpu/36688

ggetz avatar Nov 20 '24 21:11 ggetz

+1!!!

simonprovost avatar Jun 09 '25 22:06 simonprovost