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.
- Abram, G. D., and Whitted, T. 1990. Building Block Shaders. In SIGGRAPH 92, ACM. Google ScholarDigital Library
- Autodesk, 2006. Autodesk maya. Online resource at: http://usa.autodesk.com/adsk/servlet/index?id = 6871843&siteID = 123112, October.Google Scholar
- Blender, 2006. Blender. Online resource at: http://www.blender.org/cms/Home.2.0.html, October.Google Scholar
- 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 ScholarDigital Library
- 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 ScholarDigital Library
- Cook, R. L. 1984. Shade Trees. In SIGGRAPH 84, ACM. Google ScholarDigital Library
- Epic, 2005. Unreal Engine 3 Shader Graph. Online resource at: http://www.unrealtechnology.com/screens/MaterialEditor.jpg, November.Google Scholar
- 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 ScholarDigital Library
- Hwang, F., Richards, D., and Winter, P. 1992. The Steiner Tree Problem. In Annals of Discrete Mathematics, 53, Reed Elsevier.Google Scholar
- 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 ScholarDigital Library
- Otee, 2006. Unity Webpage. Online resource at: http://www.unity3d.com, October.Google Scholar
- 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 ScholarDigital Library
- 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 ScholarDigital Library
- Softimage, 2006. Softimage xsi. Online resource at: http://www.softimage.com/, October.Google Scholar
- Upstill, S., 1989. The Renderman Companion: A Programmer's Guide to Realistic Computer Graphics. Addison-Wesley, November. Google ScholarDigital Library
- 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 ScholarDigital Library
Recommendations
Automatic shader level of detail
HWWS '03: Proceedings of the ACM SIGGRAPH/EUROGRAPHICS conference on Graphics hardwareCurrent graphics hardware can render procedurally shaded objects in real-time. However, due to resource and performance limitations, interactive shaders can not yet approach the complexity of shaders written for film production and software rendering, ...
Geometry-shader-based real-time voxelization and applications
This work proposes a new voxelization algorithm based on newly available GPU functionalities and designs several real-time applications to render complex lighting effects with the voxelization result. The voxelization algorithm can efficiently transform ...
Stylized lighting for cartoon shader
CASA' 2009 Special IssueIn the context of non-photorealistic imaging, such as digital cel animation, lighting is symbolic and stylized to depict the scene's mood and the geometric or physical features of the objects in the scene. Stylized light and shade should therefore be ...
Comments