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. Dismiss Notice

Bug Object color doesn't match mesh data

Discussion in 'Universal Render Pipeline' started by JasonSpine, Nov 16, 2020.

  1. JasonSpine

    JasonSpine

    Joined:
    May 14, 2015
    Posts:
    16
    I used Vertex Paint in Blender to put colors on my object:
    upload_2020-11-16_15-0-12.png

    In Unity I wanted to render this object with URP/Particles/Unlit shader. Unfortunately the blue color is altered!
    Mesh colors are imported correctly, I've logged them in for loop. They are the same as the ones I set in blender.

    upload_2020-11-16_15-7-55.png

    As you may notice, the blue color in Unity is slightly brighter than in Blender.
    Color picker says different values too:

    upload_2020-11-16_15-11-39.png

    I Unity want to render the exact color of the object.
    Even my custom shaders do the same job as URP defaults!
    What's wrong?
     
  2. JasonSpine

    JasonSpine

    Joined:
    May 14, 2015
    Posts:
    16
    Ok, I got the culprit. In Player settings I had Linear color space instead of gamma...