A Comparison of Performance on WebGPU and WebGL in the Godot Game Engine
2024 (English)In: 2024 IEEE Gaming, Entertainment, and Media Conference, GEM 2024, Institute of Electrical and Electronics Engineers (IEEE), 2024Conference paper, Published paper (Refereed)
Abstract [en]
WebGL has been the standard API for rendering graphics on the web over the years. A new technology, WebGPU, has been set to release in 2023 and utilizes many of the novel rendering approaches and features common for the native modern graphics APIs, such as Vulkan. Currently, very limited research exists regarding WebGPU's rasterization capabilities. In particular, no research exists about its capabilities when used as a rendering backend in game engines. This paper aims to investigate performance differences between WebGL and WebGPU. It is done in the context of the game engine Godot, and the measured performance is that of the CPU and GPU frame time. The results show that WebGPU performs better than WebGL when used as a rendering backend in Godot, for both the games tests and the synthetic tests. The comparisons clearly show that WebGPU performs faster in mean CPU and GPU frame time. © 2024 IEEE.
Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2024.
Keywords [en]
Game Engine, Performance Overhead, Rendering, WebGL, WebGPU, Graphics processing unit, Program processors, Comparison of performance, Frame time, Graphics APIs, Performance, Rendering approach, Rasterization
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:bth-26785DOI: 10.1109/GEM61861.2024.10585437ISI: 001281983200021Scopus ID: 2-s2.0-85199489474ISBN: 9798350374537 (print)OAI: oai:DiVA.org:bth-26785DiVA, id: diva2:1888104
Conference
IEEE Gaming, Entertainment, and Media Conference, GEM 2024, Turin, June 5-7 2024
2024-08-122024-08-122024-09-11Bibliographically approved