Skip to content

Fog doesn't work #778

@gabrielMLight

Description

@gabrielMLight

I'm using this shader for the environment to replace another toon shader that had its own problems, but I'm disappointed at the fact that this shader completely ignores the fog. (lighting/environment/fog)

To Reproduce
Steps to reproduce the behavior:

  1. Go to Lighting/Environment
  2. Enable Fog
  3. Increase Density (or start/end in the case of linear fog)
  4. See error

Expected behavior
Fog should affect the object with this shader as well

Screenshots
(walls and ground are using the Toon shader, leaves and glowing cube use other shaders, which are affected by fog as seen in the picture)
Image
Image

Additional Information
Unity Version: 6.3 LTS (6000.3.10f1)
Platform: Windows (DX11)
Rendering Pipeline: URP

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions