From 2130d691ee87f519b99f27f56ceede61055e78b8 Mon Sep 17 00:00:00 2001 From: Jason Millard Date: Tue, 24 May 2022 07:13:45 -0400 Subject: [PATCH 1/2] misc: add missing emissive intesity get/set --- Runtime/MaterialConverter.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Runtime/MaterialConverter.cs b/Runtime/MaterialConverter.cs index b340c4a..e44b85e 100644 --- a/Runtime/MaterialConverter.cs +++ b/Runtime/MaterialConverter.cs @@ -166,5 +166,17 @@ public void SetEmissiveColor(MaterialPropertyBlock propBlock, Color color) return null; } + + public void SetEmissiveIntensity(Material material, MaterialPropertyBlock propBlock, float intensity) + { + // urp has no emissive intensity + } + + public float GetEmissiveIntensity(Material material) + { + // urp has no emissive intensity + // + return 0; + } } } From cdae953df295bea33820feab89a43f7bf739a0be Mon Sep 17 00:00:00 2001 From: Jason Millard Date: Sun, 29 May 2022 07:25:34 -0400 Subject: [PATCH 2/2] deps: bump Unity and URP versions --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 5e3ed73..dc11bc0 100644 --- a/package.json +++ b/package.json @@ -7,10 +7,10 @@ "Unity", "URP" ], - "unity": "2021.2", - "unityRelease": "7f1", + "unity": "2021.3", + "unityRelease": "0f1", "dependencies": { - "com.unity.render-pipelines.universal": "12.1.2", + "com.unity.render-pipelines.universal": "12.1.6", "org.visualpinball.engine.unity": "0.0.1-preview.106" }, "author": "freezy ",