Archive 17/01/2023.

How do I run multiple shaders or techniques in one material?

throwawayerino

I want to draw an outline around a mesh. I have a simple shader ready but can’t seem to load it. Only the first technique in the material is being loaded.

jmiller

It seems Techniques are selected by Renderer::SetMaterialQuality() and LOD distance:
https://urho3d.github.io/documentation/HEAD/_materials.html

Our ‘Outline shader’ thread, with solutions modifying RenderPath:
Outline v2