| Files: | Description | File size | Format | Browse |
| Fulltext | 0.15 MB | PDF (requires Acrobat Reader) | Previous | Next |
| | |
| Authors: | Niklas Folkegård: Högskolan i Gävle, Sweden |
| | Daniel Wesslén: Högskolan i Gävle, Sweden |
| Publication title: | Dynamic Code Generation for Realtime Shaders |
| Conference: | The Annual SIGRAD Conference. Special Theme – Environmental Visualization |
| Publication type: | Abstract and Fulltext |
| Issue: | 013 |
| Article No.: | 005 |
| Abstract: | Programming real time graphics has been made more efficient by introducing high level shading languages such as Cg and GLSL. Writing shader programs can be redundant since the same functions appear in many shaders. This article suggests a method to combine single functions and create compound shaders in runtime. Redundancy is avoided by dividing programs into smaller, reusable parts. An algorithm is presented for joining these parts into working shaders based on just a few parameters.
CR Categories: I.3.0 [Computer Graphics]: General— [I.4.8]: IMAGE PROCESSING—Shading D.1.2 [Software]: Programming Techniques—Automatic Programming. |
| Language: | English |
| Keywords: | Graphics hardware, GLSL, GPU programming, programming efficiency, real time shaders, dynamic code generation, meta programming, computer graphics |
| Year: | 2004 |
| No. of pages: | 5 |
| Pages: | 11-15 |
| Series: | Linköping Electronic Conference Proceedings |
| ISSN (print): | 1650-3686 |
| ISSN (online): | 1650-3740 |
| File: | http://www.ep.liu.se/ecp/013/005/ecp01305.pdf |
| Available: | 2004-11-24 |
| Publisher: | Linköping University Electronic Press, Linköpings universitet |
|
| REFERENCE TO THIS PAGE |