Stride Forums Archive

Distribution of custom shaders

3 posts, 1696 views, 2016-07-19 to 2016-07-20

EmptyKeys (Empty Keys) 2016-07-19 #1

Hi,
I want to distribute custom shaders with my UI. How can I do that shader will be part of my assembly (.dll) so I don’t have to distribute .xksl files?

EmptyKeys (Empty Keys) 2016-07-19 #2

Never mind, I would have to compile it to bytecode and distribute diff version for each platform. Think I will use .xksl files.

xen2 (Virgile) 2016-07-20 #3

Yes, .xksl is the best option for now.

Later, we plan to have a real Xenko effect/shader bytecode (similar to SPIR-V or DXIL).
It should also make conversion from Xenko to HLSL/GLSL much faster.