0

Probably wrong color in DefaultStaticMeshBatchingBuffer?

Christof Rezk Salama 2 months ago in Question 0
Hi guys,

first of all, let me thank you for your impressive work on Helix Toolkit.

When looking throught the batches mesh part, it was unclear to my, why in HelixToolkit.UWP.DefaultStaticMeshBatchingBuffer, line 74, the emissive color of the PhongMaterialCore is used instead of the ambient color.

Line 74:    var ambient = material.EmissiveColor.EncodeToFloat();

It looks like a simple copy-and-paste error.

Cordially,
Christof

SharpDX WPF