It would be useful to modify the TransmissionSource class and add a new ctor in order to pass a custom sorter (just like what we can do with the SceneManager)
i.e.
TransmissionSource(ShaderProvider, RenderableSorter). This is useful for some specific situations.
This is a quick, zero impact implementation:
public TransmissionSource(ShaderProvider shaderProvider) {
this(shaderProvider, new SceneRenderableSorter());
}
public TransmissionSource(ShaderProvider shaderProvider, RenderableSorter sorter) {
batch = new ModelBatch(shaderProvider, sorter);
attribute.textureDescription.minFilter = TextureFilter.MipMap;
attribute.textureDescription.magFilter = TextureFilter.Linear;
}
It would be useful to modify the TransmissionSource class and add a new ctor in order to pass a custom sorter (just like what we can do with the SceneManager)
i.e.
TransmissionSource(ShaderProvider, RenderableSorter). This is useful for some specific situations.
This is a quick, zero impact implementation: