Use ambientColor in LightingData
This commit is contained in:
parent
fb39372a56
commit
eec880eaac
2 changed files with 1 additions and 10 deletions
|
|
@ -82,7 +82,7 @@ namespace MatterHackers.MatterControl
|
|||
world.Translate(new Vector3(0, yOffset, 0));
|
||||
world.Rotate(Quaternion.FromEulerAngles(new Vector3(rotateX, 0, 0)));
|
||||
|
||||
InteractionLayer.SetGlContext(world, screenSpaceBounds, lighting, this.AmbientColor);
|
||||
InteractionLayer.SetGlContext(world, screenSpaceBounds, lighting);
|
||||
GLHelper.Render(logoMesh, this.MeshColor, Matrix4X4.CreateRotationY(angle), RenderTypes.Shaded);
|
||||
InteractionLayer.UnsetGlContext();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue