- 
                Notifications
    You must be signed in to change notification settings 
- Fork 137
[MTT-9279] Fix: Distributed Authority Sample Lighting, Shadow and Shader Fixes #265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MTT-9279] Fix: Distributed Authority Sample Lighting, Shadow and Shader Fixes #265
Conversation
- Rebaked lightmaps - Commented some keywords in Assets/Shaders/CustomHLSL/CustomLighting.hlsl for shadows - Added _MAIN_LIGHT_SHADOWS keyword to Assets/Shaders/SubGraphs/ToonShading.shadersubgraph - Switched keywords to "Multi Compile" instead of "Shader Feature" in Assets/Shaders/SubGraphs/ToonLightingModel.shadersubgraph - Switched the directional light mode to Mixed from Baked in the TownMarket scene
- Set main light cascade settings to match original project
…enabling opaque and depth texture settings in RPAssets
…ting-shadow-and-water-fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on Mobile and MacOS, works and great improvement.
- Maybe we should remove the uncommented sections from CustomLighting.hlsl? (Can be done later)
- Investigate Shadow Poping in a follow up.
Ready to merge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks absolutely amazing!
Let's add a note in the changelog before merging 😄
…ting-shadow-and-water-fix
        dbfa22f
      
    There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great improvements
Description
Cal Chiu helped our team and adjusted settings and shader to fix the lighting and shadow display within the project. Further with the help of MingWai we fixed the transparency issue of the water. This PR helps to improve the overall look of the sample.
Issue Number(s)
https://jira.unity3d.com/browse/MTT-9279
Contribution checklist