A Tool for the Procedural Generation of Shaders using Interactive Evolutionary Algorithms
Abstract: We present a tool for exploring the design space of shaders using an interactive evolutionary algorithm integrated with the Unity editor, a well-known commercial tool for video game development. Our framework leverages the underlying graph-based representation of recent shader editors and interactive evolution to allow designers to explore several visual options starting from an existing shader. Our framework encodes the graph representation of a current shader as a chromosome used to seed the evolution of a shader population. It applies graph-based recombination and mutation with a set of heuristics to create feasible shaders. The framework is an extension of the Unity editor; thus, designers with little knowledge of evolutionary computation (and shader programming) can interact with the underlying evolutionary engine using the same visual interface used for working on game scenes.
- F. Holmér, “Shader forge,” 2022. [Online]. Available: https://acegikmo.com/shaderforge/
- Amplify Creations, “Amplify shader,” 2022. [Online]. Available: http://amplify.pt/unity/amplify-shader-editor/
- Unity Software Inc., “Shader graph,” 2022. [Online]. Available: https://unity.com/features/shader-graph
- Epic Games, “Unreal engine material editor,” 2022. [Online]. Available: https://docs.unrealengine.com/5.0/en-US/unreal-engine-material-editor-user-guide/
- J. Lo, “Shader weaver,” 2022. [Online]. Available: https://www.shaderweaver.com/
- M. Ebner, M. Reinhardt, and J. Albert, “Evolution of vertex and pixel shaders,” in Genetic Programming, 8th European Conference, EuroGP2005, Lausanne, Switzerland, March 30 - April 1, 2005, Proceedings, ser. Lecture Notes in Computer Science, M. Keijzer, A. Tettamanzi, P. Collet, J. I. van Hemert, and M. Tomassini, Eds., vol. 3447. Springer, 2005, pp. 261–270. [Online]. Available: https://doi.org/10.1007/978-3-540-31989-4_23
- J. C. Quiroz and S. M. Dascalu, “Design and implementation of a procedural content generation web application for vertex shaders,” CoRR, vol. abs/1608.05231, 2016. [Online]. Available: http://arxiv.org/abs/1608.05231
- A. Howlett, S. Colton, and C. Browne, “Evolving pixel shaders for the prototype video game subversion,” in Proceedings of the 3rd International Symposium on AI and Games - A Symposium at the AISB 2010 Convention, ser. Proceedings of the 3rd International Symposium on AI and Games - A Symposium at the AISB 2010 Convention, Dec. 2010, pp. 41–46, aISB Symposium on AI and Games 2010 ; Conference date: 29-03-2010 Through 01-04-2010.
- P. Sitthi-Amorn, N. Modly, W. Weimer, and J. Lawrence, “Genetic programming for shader simplification,” ACM Trans. Graph., vol. 30, no. 6, p. 1–12, dec 2011. [Online]. Available: https://doi.org/10.1145/2070781.2024186
- X. Snelgrove and M. Tesfaldet, “Interactive CPPNs in GLSL,” ser. Machine Learning for Creativity and Design Workshop (NeurIPS 2018), Dec. 2018. [Online]. Available: https://nips2018creativity.github.io
- “Subversion (videogame),” 2022. [Online]. Available: https://en.wikipedia.org/wiki/Subversion_(video_game)
- O. Nalbach, E. Arabadzhiyska, D. Mehta, H. Seidel, and T. Ritschel, “Deep shading: Convolutional neural networks for screen space shading,” Comput. Graph. Forum, vol. 36, no. 4, pp. 65–78, 2017. [Online]. Available: https://doi.org/10.1111/cgf.13225
- M. Olano, B. Kuehne, and M. Simmons, “Automatic shader level of detail,” in Proceedings of the ACM SIGGRAPH/EUROGRAPHICS Conference on Graphics Hardware, ser. HWWS ’03. Goslar, DEU: Eurographics Association, 2003, p. 7–14.
- F. Pellacini, “User-configurable automatic shader simplification,” ACM Trans. Graph., vol. 24, no. 3, p. 445–452, jul 2005. [Online]. Available: https://doi.org/10.1145/1073204.1073212
- Nott, “Urp dissolve 2020,” 2023, last accessed on January 31, 2023. [Online]. Available: https://assetstore.unity.com/packages/vfx/shaders/urp-dissolve-2020-191256
- J. F. Blinn, “Simulation of wrinkled surfaces,” in Proceedings of the 5th Annual Conference on Computer Graphics and Interactive Techniques, ser. SIGGRAPH ’78. New York, NY, USA: Association for Computing Machinery, 1978, p. 286–292. [Online]. Available: https://doi.org/10.1145/800248.507101
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.