microsoft / microsoft/MixedReality-GraphicsTools-Unity

Support dynamic shadow casting and receiving

未关闭
#55 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@HoloMoto 已经在做这个了。

开始于 2023年1月5日。

enhancement
主要语言
C#
星标
209
派生
49
PR 合并指标
30 天内没有已合并 PR

描述

Describe the problem

The Graphics Tools/Standard shader doesn't have a shadow pass since we often avoid dynamic shadows in mixed reality due to performance constraints. Now that we support other platforms and mixed reality devices are getting more powerful it makes sense to allow the user to enable dynamic shadows if they are aware of the cost.

Describe the solution you'd like

Add directional shadow support like so: https://catlikecoding.com/unity/tutorials/custom-srp/directional-shadows/

We probably don't need to support point and spot shadows since those light sources aren't supported as is.

Describe alternatives you've considered

Stick to static shadows only.

Additional context

Related issue: https://github.com/microsoft/MixedRealityToolkit-Unity/issues/9689

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。