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

Matt Painting / Background plane outside window?

Discussion in 'General Graphics' started by Student4Life, Jul 14, 2019.

  1. Student4Life

    Student4Life

    Joined:
    Sep 28, 2016
    Posts:
    27
    Hi All,
    I modeled a small room and had planned on just having the windows solid white, but on applying a transparent material on them, I thought it looked way better (see images).

    Can anyone tell me what I should be searching for to make some easy background landscape / plane / image outside of the window? Ideally some solution that looks realistic.

    Thanks!
    p.s. I searched 'image on plane, Unity, Matt painting behind window, Unity etc. in Google and din't have much luck'

    2019-07-14 15_09_23-.png 2019-07-14 15_07_15-.png
     
  2. Mauri

    Mauri

    Joined:
    Dec 9, 2010
    Posts:
    2,657
    The easiest way would be to use a Skybox instead of the default procedual sky. There are some nice ones in the Asset Store. You could also use the ones from HDRI Haven.
     
    Student4Life likes this.
  3. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,004
    Some free to use photos?
     
    Student4Life likes this.
  4. Student4Life

    Student4Life

    Joined:
    Sep 28, 2016
    Posts:
    27
    Hey @Mauri does a Skybox require a heavy performance hit? Right now I'm working with unlit shaders, trying to keep everything light.

    @AcidArrow do you mean I just apply an image to a plane? Any tips on distance of the plane etc to compensate for parallax? Does the plane need to curve etc?
     
  5. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,004
    This may or may not work for you, please experiment, a plane could be fine, but I tend to curve them somewhat. Or if it's not just a sky, you could make arbitrary shapes so there is "correct" parallax.

    Distance depends on the content, if it's just a sky then as far as way as you can, otherwise closer could be nice.

    Here's one of my set-ups:
    Screenshot 2019-07-15 at 09.09.32.png
    It works for me, but the camera doesn't move too much and the sky is almost always out of focus so even less than this could have potentially worked
     
  6. Student4Life

    Student4Life

    Joined:
    Sep 28, 2016
    Posts:
    27
    hey thanks @AcidArrow - nice scene!
    I appreciate the workflow / set up info. Did you make that curved plain in Unity or in your 3D modeling software?
    Looks really nice.
     
  7. kdgalla

    kdgalla

    Joined:
    Mar 15, 2013
    Posts:
    4,357
    You're already using a skybox, even if you didn't realize- it's Unity's default skybox. All you'd be doing is switching-out a boring skybox for a nicer one.
     
  8. Student4Life

    Student4Life

    Joined:
    Sep 28, 2016
    Posts:
    27
    Well what do you know @kdgalla
    Thanks for telling me that :)

    n00b alert haha