skip to main content
10.1145/1274940.1274959acmconferencesArticle/Chapter ViewAbstractPublication PagessiggraphConference Proceedingsconference-collections
Article

Interactive shader development

Published:04 August 2007Publication History

ABSTRACT

Since the introduction of programmable graphics hardware, the creation of shader programs has played an increasingly important role in real-time graphics. Programming shaders is no trivial task, and this has led to the introduction of graphical shader editor tools. Using these tools, shaders are authored by connecting nodes and building a shade tree.

In this paper we present an improved approach to real-time graphical shader authoring that removes several programming difficulties. Our approach automatically handles type- and geometrical space transformations by using intelligent variables as connection slots in the nodes. Our work also offers workflow enhancements for a more interactive creation process. When shaders are to be used in interactive applications such as games, they need to be optimized. Therefore we present a scheme for automatic optimization in two steps; first optimal code placement and second optimization of inserted transformations. Performance will be compared to hand-optimized programs.

References

  1. Abram, G. D., and Whitted, T. 1990. Building Block Shaders. In SIGGRAPH 92, ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Autodesk, 2006. Autodesk maya. Online resource at: http://usa.autodesk.com/adsk/servlet/index?id = 6871843&siteID = 123112, October.Google ScholarGoogle Scholar
  3. Blender, 2006. Blender. Online resource at: http://www.blender.org/cms/Home.2.0.html, October.Google ScholarGoogle Scholar
  4. Chan, E., Ng, R., Sen, P., Proudfoot, K., and Hanrahan, P. 2002. Efficient Partitioning of Fragment Shaders for Multipass Rendering on Programmable Graphics Hardware. In Graphics Hardware, The Eurographics Association. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Charikar, M., Chekuri, C., Yat Cheung, T., Dai, Z., Goel, A., Guha, S., and Li, M. 1998. Approximation Algorithms for Directed Steiner Problems. In SODA '98: Proceedings of the ninth annual ACM-SIAM symposium on Discrete algorithms, Society for Industrial and Applied Mathematics, Philadelphia, PA, USA, 192--200. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Cook, R. L. 1984. Shade Trees. In SIGGRAPH 84, ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Epic, 2005. Unreal Engine 3 Shader Graph. Online resource at: http://www.unrealtechnology.com/screens/MaterialEditor.jpg, November.Google ScholarGoogle Scholar
  8. Goetz, F., Borau, R., and Domik, G. 2004. An XML-Based Visual Shading Language for Vertex and Fragment Shaders. In Proceedings of the ninth international conference on 3D Web technology, ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Hwang, F., Richards, D., and Winter, P. 1992. The Steiner Tree Problem. In Annals of Discrete Mathematics, 53, Reed Elsevier.Google ScholarGoogle Scholar
  10. McGuire, M., Stahis, G., Pfister, H., and Krishnamurhi, S. 2006. Abstract Shade Trees. In Proceedings of the Symposium on Interactive 3D Graphics and Games, ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Otee, 2006. Unity Webpage. Online resource at: http://www.unity3d.com, October.Google ScholarGoogle Scholar
  12. Peercy, M. S., Olano, M., Airey, J., and Ungar, P. J. 2000. Interactive Multi-Pass Programmable Shading. In SIGGRAPH '00: Proceedings of the 27th annual conference on Computer graphics and interactive techniques, ACM Press/Addison-Wesley Publishing Co., New York, NY, USA, 425--432. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Proudfoot, K., Mark, W. R., Tzvetkov, S., and Hanrahan, P. 2001. A Real-Time Procedural Shading System for Programmable Graphics Hardware. In SIGGRAPH 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Softimage, 2006. Softimage xsi. Online resource at: http://www.softimage.com/, October.Google ScholarGoogle Scholar
  15. Upstill, S., 1989. The Renderman Companion: A Programmer's Guide to Realistic Computer Graphics. Addison-Wesley, November. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Zosin, L., and Khuller, S. 2002. On Directed Steiner Trees. In SODA '02: Proceedings of the thirteenth annual ACM-SIAM symposium on Discrete algorithms, Society for Industrial and Applied Mathematics, Philadelphia, PA, USA, 59--63. Google ScholarGoogle ScholarDigital LibraryDigital Library

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in
  • Published in

    cover image ACM Conferences
    Sandbox '07: Proceedings of the 2007 ACM SIGGRAPH symposium on Video games
    August 2007
    169 pages
    ISBN:9781595937490
    DOI:10.1145/1274940

    Copyright © 2007 ACM

    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 4 August 2007

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • Article

    Upcoming Conference

    SIGGRAPH '24

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader