freezy / VisualPinball.Engine

:video_game: Visual Pinball Engine for Unity
https://docs.visualpinball.org
GNU General Public License v3.0
406 stars 62 forks source link

Add emissive color to renderer #367

Closed jsm174 closed 2 years ago

jsm174 commented 2 years ago

This PR adds two new methods to the IMaterialConverter interface:

public void SetEmissiveColor(MaterialPropertyBlock propBlock, Color color);
public Color? GetEmissiveColor(Material material)

Currently, only HDRP supports emissive color.

When creating a new project that uses URP, when the player is activated, the lamp api will crash.

In addition to the render pipeline updates, this PR also adds support for ios-arm64.

codecov[bot] commented 2 years ago

Codecov Report

Merging #367 (ce41dc1) into master (fcea80a) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #367   +/-   ##
=======================================
  Coverage   83.91%   83.91%           
=======================================
  Files         125      125           
  Lines        6741     6741           
=======================================
  Hits         5657     5657           
  Misses       1084     1084           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9a195e8...ce41dc1. Read the comment docs.