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

Creating realistic webcam output with Unity

Discussion in 'Virtual Production' started by NikEy, Jun 4, 2022.

  1. NikEy

    NikEy

    Joined:
    Oct 10, 2012
    Posts:
    8
    Hi,

    I'm trying to achieve a render that results in the SAME quality as the following (web cam) output:

    upload_2022-6-3_21-9-33.png

    Basically it looks like crap, the edges are not sharp, the text is barely readable, and there is significant noise in the image.

    If I try to recreate that in Unity everything looks "too crisp", e.g.:
    upload_2022-6-3_21-8-25.png

    So what can I do to make Unity create a similar visual output as the real webcam? (other than scaling the resolution down and up)
     
  2. marc_tanenbaum

    marc_tanenbaum

    Unity Technologies

    Joined:
    Oct 22, 2014
    Posts:
    637
    Not really my forte, but for this effect I'd suggest looking at the Volume > Post Processing effects as a starting point...particularly Film Grain, Chromatic Aberration, and Tonemapping and/or Split Toning.

    Here's a quick example I did with one of my own projects to try and mimic what you're after (I'm no artist...I'm sure you can improve on the general idea!).

    The original (assets are from Ben Radcliffe's Realtime Rascals)

    Screen Shot 2022-06-04 at 10.06.32 AM.png

    Same frame with PostProcessing effects.

    Screen Shot 2022-06-04 at 10.06.23 AM.png

    Here are the settings I used to get this look. (Um...note that I happened to have the effect disabled...the first checkbox...when I took the screenshot.)

    Screen Shot 2022-06-04 at 10.08.17 AM.png

    Hope that helps!
     
  3. NikEy

    NikEy

    Joined:
    Oct 10, 2012
    Posts:
    8
    Thanks, this helped!
     
    marc_tanenbaum likes this.