Skip to content

Commit 4a1f3e1

Browse files
committed
rp: move emissive color to material converter
1 parent e49227a commit 4a1f3e1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Runtime/MaterialConverter.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,5 +154,17 @@ public void SetMaterialType(Material material, MaterialType materialType)
154154
{
155155
// todo
156156
}
157+
158+
public void SetEmissiveColor(MaterialPropertyBlock propBlock, Color color)
159+
{
160+
// urp has no emissive color
161+
}
162+
163+
public Color? GetEmissiveColor(Material material)
164+
{
165+
// urp has no emissive color
166+
167+
return null;
168+
}
157169
}
158170
}

0 commit comments

Comments
 (0)