📜  hdrp lit 改变发射值 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:13.544000             🧑  作者: Mango

代码示例1
yourMaterial.EnableKeyword("_EmissiveIntensity"); //Have this somwhere in your code 

mesh.material.SetFloat("_EmissiveIntensity", 10f); // Use this to set emmision value