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

U Chroma Key image effect

Discussion in 'Assets and Asset Store' started by CatsPawGames, Oct 24, 2014.

  1. CatsPawGames

    CatsPawGames

    Joined:
    Jun 4, 2014
    Posts:
    443
    The way to use them really depends on your usecase. You can send me a message with description of what you're trying to achieve to leonidmv@gmail.com, and I'll try to walk you through the setup process.
     
  2. Tochilo

    Tochilo

    Joined:
    Jan 16, 2016
    Posts:
    3
    Hey, i'm bought this asset.
    Can you help me a little bit?
    I need translate a video to 3d plane. At video i have a green background and i need do this background zero by opacity. What is best way to do it with your asset?
     
  3. CatsPawGames

    CatsPawGames

    Joined:
    Jun 4, 2014
    Posts:
    443
    Hello. If you want to use webcam feed, you can use UChromaKey component for webcam handling and create material with UChromaKey shader for your plane. If your video isn't from camera, then you can use direct source UChromaKey shaders and just put your videotexture into main texture slot. If you have further questions, you can send me detailed description of your setup to support email (available in publisher profile).
     
  4. Tochilo

    Tochilo

    Joined:
    Jan 16, 2016
    Posts:
    3
    Did as you say, but have this on IOS. It show a full camera image to plane
    photo_2018-03-29_08-34-25.jpg

    On PC and Android all okay. Do you know what might be the problem?
    Untitled-2.jpg
     
  5. waisave

    waisave

    Joined:
    Dec 11, 2018
    Posts:
    1
    Hey, I'm bought this asset.
    Can you help me a little bit?
    I want to switch different background on the mobile. Also, I want to add a ship or a car in front of the camera that can cover the person and the background. To make the effect like that a person is driving a car or a ship in the different background I chose
    What is best way to do it with your asset?
     
  6. CatsPawGames

    CatsPawGames

    Joined:
    Jun 4, 2014
    Posts:
    443
    Hello.

    Easiest way to achieve that would be to not to use fullscreen effect but instead quad with UChromaKey shader. Then you can just compose layers of objects as you see fit - place foreground objects in front of chroma-keyed quad and background objects behind.
     
  7. lloydhuang

    lloydhuang

    Joined:
    Feb 2, 2019
    Posts:
    11
    hi, my webcam is 1080p, full HD. but when i run your demo scene, the webcam image is not 1920*1080, and i checked the webcam software setup, is already 1920*1080. how can i set it to 1920*1080 in your asset?
     
  8. Dirrogate

    Dirrogate

    Joined:
    Feb 18, 2014
    Posts:
    157
    @CatsPawGames Hi, will you be updating this asset to work with HDRP?
    with Virtual Production (filmmaking) gaining ground, it would generate more sales.
    Regards
     
  9. N7Nico

    N7Nico

    Joined:
    Sep 1, 2017
    Posts:
    3
    Hi @CatsPawGames,

    Is your plugin supported by the Universal Render Pipeline ?
    As the shaders might not be supported.

    Regards,
    Nicolas
     
  10. Dirrogate

    Dirrogate

    Joined:
    Feb 18, 2014
    Posts:
    157
    ^bump
     
  11. unity_29sse-xAcqfrDg

    unity_29sse-xAcqfrDg

    Joined:
    Dec 10, 2020
    Posts:
    1
    Hello, i'm using UChroma for IOS and Android - it's works fine, but not for WEB-GL.
    How to solve an issue? In WebGL - i'm seeing only the black blank RAW Image.
     
  12. morfevs

    morfevs

    Joined:
    Dec 21, 2016
    Posts:
    15
    Hi all. I have some questions.
    - Can you do mask your chroma key in unity? I dont think you can "cut" a quad or a plane?
    - I have a shadow issue I would like to ask you guys:
     

    Attached Files: