Skip to content

Commit 7def5f4

Browse files
committed
misc: add missing emissive intesity get/set
1 parent d67cf70 commit 7def5f4

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
@@ -166,5 +166,17 @@ public void SetEmissiveColor(MaterialPropertyBlock propBlock, Color color)
166166

167167
return null;
168168
}
169+
170+
public void SetEmissiveIntensity(Material material, MaterialPropertyBlock propBlock, float intensity)
171+
{
172+
// urp has no emissive intensity
173+
}
174+
175+
public float GetEmissiveIntensity(Material material)
176+
{
177+
// urp has no emissive intensity
178+
//
179+
return 0;
180+
}
169181
}
170182
}

0 commit comments

Comments
 (0)