Skip to content

ToonShader did not receive flat and gradient Ambient #395

Closed
@Thaina

Description

@Thaina

Describe the bug
ToonShader did not receive flat and gradient Ambient

I don't see toonshader use any unity_AmbientEquator unity_AmbientGround unity_AmbientSky to set light source color

To Reproduce
Steps to reproduce the behavior:

  1. Using any model with ToonShader
  2. Click on Window > Rendering > Lighting > Environment
  3. Change Environment Lighting source to Gradient and tweak any color
  4. Other model with UniversalShader/Lit change color from ambient but toonshader would not

Expected behavior
toonshader would colored from all ambient gradient as well as other lit shader

Screenshots

Normal
Image

Current
Image

Expect
Image

Desktop (please complete the following information):

  • Windows
  • Chrome

Additional context
Also I don't understand how unity's own Lit shader can get AmbientMode. I would like to fix it myself and made pull request but this AmbientMode have me confused

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions