Object-Oriented Shader Design
Abstract
We present an extremely lightweight object-oriented framework for writing shaders. It provides a way to invoke methods of objects from the shading language and to use references of objects as normal variables. Classes are declared and instantiated in the application language using proxy classes. We then apply object-oriented design to several typical shading problems showing their strength compared to the standard methods.
BibTeX
@inproceedings {10.2312:egs.20071035,
booktitle = {EG Short Papers},
editor = {Paolo Cignoni and Jiri Sochor},
title = {{Object-Oriented Shader Design}},
author = {Kuck, Roland},
year = {2007},
publisher = {The Eurographics Association},
DOI = {10.2312/egs.20071035}
}
booktitle = {EG Short Papers},
editor = {Paolo Cignoni and Jiri Sochor},
title = {{Object-Oriented Shader Design}},
author = {Kuck, Roland},
year = {2007},
publisher = {The Eurographics Association},
DOI = {10.2312/egs.20071035}
}