Skip to content

Commit b74093e

Browse files
committed
Fix intensity when setting emission color.
1 parent 9f4efe6 commit b74093e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/MaterialConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public void SetMaterialType(Material material, MaterialType materialType)
216216

217217
public void SetEmissiveColor(MaterialPropertyBlock propBlock, Color color)
218218
{
219-
propBlock.SetColor(EmissiveColorHDR, color);
219+
propBlock.SetColor(EmissiveColorHDR, color.gamma);
220220
}
221221

222222
public Color? GetEmissiveColor(Material material)

0 commit comments

Comments
 (0)