© Claudia Doppioslash 2018
Claudia DoppioslashPhysically Based Shader Development for Unity 2017https://doi.org/10.1007/978-1-4842-3309-2_16

16. Complexity and Ubershaders

Claudia Doppioslash
(1)
Liverpool, Merseyside, UK
 
As you may well have noticed from the chapter on hacking a custom lighting model within the Standard shader, once you start to build up functionality upon functionality and need to support many different platforms with very different capabilities, the complexity of shader code can get very high, very fast.
A characteristic that most shader systems share is the need to be flexible, while the language itself doesn’t really provide much flexibility. Unity is experimenting with writing shaders in C#, so this may change in the future. ...

Get Physically Based Shader Development for Unity 2017: Develop Custom Lighting Systems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.