27
Views
1
CrossRef citations to date
0
Altmetric
Original Articles

Toward Improved Batchability of 3D Objects Using a Consolidated Shader

Pages 151-158 | Received 24 Jul 2012, Accepted 25 Mar 2014, Published online: 09 Jul 2015
 

Abstract

DRAW call cost is a major issue for game engine rendering performance and is most often caused by material and shader switching. This article describes a technique for building consolidated shaders that allows for a wide variety of different appearances and thereby can be used for most materials in a 3D world. The technique uses novel UV data packing and can decrease draw call cost. An actual shader is implemented using the technique and tests show a frame-rate increase of up to 14% in a typical scene.

ACKNOWLEDGMENTS

This article would not have been possible without the team at Exit Strategy Entertainment and in particular the work of Soenke Seidel. Thanks also goes to Timothy Cooper of Unity Technologies for some valuable discussions. Henrik Schonau Fog and Rama Hoetzlein, both at Aalborg University, also deserve a thankful mention for their help with refining this article.

Notes

1 MIP is an acronym for multum in parvo, meaning “much in little” and is a technique for generating lower resolution samples of a texture, which can be rendered for surfaces far away in order to increase rendering speed and reduce artifacts.

2 Number of pixels that a GPU can rasterize and write to the frame buffer per frame.

4 Tests were performed on Core I3 clocked at 2.13GHz and a Radeon 5650 GPU.

5 Tests were run in Unity 3.5b2.

6 Those are too rarely used on many different objects, and implementing support for them in the consolidated shader would be unlikely to yield any frame-rate improvements. There is, however, nothing preventing a consolidated shader from being built to support these kinds of surfaces.

Log in via your institution

Log in to Taylor & Francis Online

PDF download + Online access
  • 48 hours access to article PDF & online version
  • Article PDF can be downloaded
  • Article PDF can be printed
USD 53.00 Add to cart
* Local tax will be added as applicable

Related Research

People also read lists articles that other readers of this article have read.

Recommended articles lists articles that we recommend and is powered by our AI driven recommendation engine.

Cited by lists all citing articles based on Crossref citations.
Articles with the Crossref icon will open in a new tab.