You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Timur Gafarov edited this page Sep 16, 2021
·
4 revisions
Dagon version: >=0.10
Dagon's material system can be extended using custom GLSL shaders. It is recommended to use GLSL 4.0 (#version 400 core).
TODO: shader creation
Limitations:
Custom shaders are not supported by the deferred rendering pipeline, so objects using them are rendered using forward pipeline. If you want to use lighting in a custom shader, you'll have to implement your own light sorting/batching system.
Decals work only with deferred pipeline, so they are not placed on objects with custom shaders.