浏览代码

Fixed caustics not appearing in color copy

/feature-infinite-sea
Andre McGrail 4 年前
当前提交
6238e07b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Packages/com.verasl.water-system/Scripts/Rendering/WaterSystemFeature.cs

2
Packages/com.verasl.water-system/Scripts/Rendering/WaterSystemFeature.cs


_causticMaterial.SetFloat(SrcBlend, 2f);
_causticMaterial.SetFloat(DstBlend, 0f);
_causticMaterial.DisableKeyword("_DEBUG");
m_CausticsPass.renderPassEvent = RenderPassEvent.AfterRenderingSkybox + 1;
m_CausticsPass.renderPassEvent = RenderPassEvent.AfterRenderingOpaques;
// WaterEffects
break;
}

正在加载...
取消
保存