Пример #1
0
 public void OnPostRender()
 {
     flare.ClearExtinction();
     flare.sunglareMaterial.SetFloat(ShaderProperties.renderOnCurrentCamera_PROPERTY, 0.0f);
     flare.sunglareMaterial.SetFloat(ShaderProperties.useDbufferOnCamera_PROPERTY, useDbufferOnCamera);
 }
Пример #2
0
 public void OnPostRender()
 {
     flare.ClearExtinction();
     flare.sunglareMaterial.SetFloat("renderOnCurrentCamera", 0.0f);
     flare.sunglareMaterial.SetFloat("useDbufferOnCamera", useDbufferOnCamera);
 }