0

Probably wrong color in DefaultStaticMeshBatchingBuffer?

Christof Rezk Salama 4 years ago updated by nick 3 years ago 1
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

Wohh just what I was looking for, regards for posting.ข้อดีUFASLOT