Smal fixes + cloud/smoke texture

This commit is contained in:
Richard Ott
2018-09-01 19:27:39 +02:00
parent c073f272f6
commit 00fa478ca7
7 changed files with 268 additions and 5 deletions

View File

@@ -54,6 +54,7 @@ public class LightLurch : MonoBehaviour {
lurchRenderer.material.SetColor("_EmissionColor", lightSource.color * (emissionMultiplier * emissionValue));
emissionValue = baseEmission;
lurchRenderer.material.EnableKeyword("_EMISSION");
lightSource.enabled = true;
}
// Update is called once per frame