Skip to content

Commit 8e2f35f

Browse files
committed
rp: Add object type to material.
1 parent 41293bf commit 8e2f35f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Runtime/MaterialConverter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ public class MaterialConverter : IMaterialConverter
5353

5454
#endregion
5555

56-
public Shader GetShader()
56+
private static Shader GetShader()
5757
{
5858
return Shader.Find("HDRP/Lit");
5959
}
6060

61-
public UnityEngine.Material CreateMaterial(PbrMaterial vpxMaterial, TableAuthoring table, StringBuilder debug = null)
61+
public UnityEngine.Material CreateMaterial(PbrMaterial vpxMaterial, TableAuthoring table, Type objectType, StringBuilder debug = null)
6262
{
6363
var unityMaterial = new UnityEngine.Material(GetShader())
6464
{

0 commit comments

Comments
 (0)