Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Resolved Ignore fog on an object URP

Discussion in 'Universal Render Pipeline' started by Ghostbu3750S, Jul 20, 2022.

  1. Ghostbu3750S

    Ghostbu3750S

    Joined:
    Sep 17, 2019
    Posts:
    19
    Hi, so I've been trying to get an object to ignore the fog but can't seem to make it work. I've heard OnPreRender() no longer works for URP, so I was wondering if there was a way I could get this to work. Lemme know if there's actually a way,
    Thanks
     
    Last edited: Jul 22, 2022
  2. Ghostbu3750S

    Ghostbu3750S

    Joined:
    Sep 17, 2019
    Posts:
    19
    Oh, so all I had to do was change the material to unlit eh?
     
    DevDunk likes this.