Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
1.1.0:materials [2023/07/31 15:01] – created - external edit 127.0.0.11.1.0:materials [2024/01/23 08:23] (current) – [Default-Material] admin
Line 3: Line 3:
  
 Since version 0.8+, the most materials are inherited from the node based **TGorillaDefaultMaterialSource** for comfortable shader code reusage. Since version 0.8+, the most materials are inherited from the node based **TGorillaDefaultMaterialSource** for comfortable shader code reusage.
 +===== Tutorial =====
 +{{youtube>qlUcOgNTcgM}}
 ===== Default-Material ===== ===== Default-Material =====
  
Line 35: Line 37:
   * [[runtime-material|TGorillaRuntimeMaterialSource]]   * [[runtime-material|TGorillaRuntimeMaterialSource]]
  
 +===== Material Behaviours =====
 +
 +Since v1.1 (Rev. 2724) we developed a new way of building and managing materials.
 +Our so called Material-Behaviours are a way to encapsulate shader functionality into building blocks. 
 +These building blocks can then be reused across multiple TGorillaDefaultMaterialSource components. 
 +
 +This makes it easy to keep your shaders organized and maintainable.
 +
 +Apply a single material behaviour to multiple material sources, but the place to edit parameters of your behaviour stay centralized. 
 +This makes it very easy to manage complex shading behaviour.
 +
 +Read more about [[material-behaviour|Material Behaviour]]
  
 Next step: [[primitives|Primitives]] Next step: [[primitives|Primitives]]