Playing Video In Unity - Texturing Objects With Video [3/8] Live 2017/7/12

Поделиться
HTML-код
  • Опубликовано: 19 дек 2024

Комментарии • 47

  • @verast
    @verast Год назад +3

    okay i need to write down my steps in case if i ever come here again for the same question:
    this is a tutorial for running a video on a cube/plane that you can place anywhere in your scene.
    - create a video player, feed it with a video clip
    - create a cube or another mesh, create a new material, set shader to unlit/texture (because otherwise it's gonna be to dark) and put it onto the cube
    - edit your cube size to match the aspect ratio of your video
    - go to your videoplayer, set your render mode to material override and put your cube into the renderer field
    - create a render texture and edit the size settings to match your video size (example 1920x1080), set depth stencil format to "none"
    - go to your cube material again and plug your new render texture into the albedo and the emission field (emission needs to be enabled)

  • @angiemon897
    @angiemon897 2 года назад +8

    This is the best and fastest video I've found to solve this issue (I watched several) and I come back to this literally like every 1-2 months (so the time span that's not regularly enough for me to completely memorize how it's done, but still leaves me super annoyed I have to rewatch a tutorial every time, lol)
    That being said, as grateful as I am for this, I hate that this is one of the "I'm showing you how it's NOT done in the middle of the video so that you can't even skip to the actual tutorial part because it's in the middle of it and you need the info BEFORE and AFTER the wrong part, HAHA!" xD
    helpful: 10/10
    annoying: also 10/10
    ungrateful f*ck because this is a free, super helpful video: 10/10
    ...Thanks for the video!!! :)

  • @JoseFelipeAranaGarcia
    @JoseFelipeAranaGarcia 3 года назад

    Thanks man, I saw many tutorials but yours explains much better, thank you very much. My doubts were resolved.

  • @jacksonkr_
    @jacksonkr_ 5 лет назад

    This is awesome. You just saved me an hour of research. YT should allow donations to video makers..

    • @widepootis
      @widepootis 4 года назад

      it does, its up to the creator to add a donation button bellow the vid

  • @80sOGRE
    @80sOGRE 5 лет назад +7

    Does anyone know how to get the emission to cast onto the nearby environment ? i realize that any mesh receiving the spill would have to be not baked. could i use a projector type setup ?

  • @joaomede
    @joaomede 6 лет назад +15

    HEY MAN, Thank you, okay? You helped me.

  • @atokosto
    @atokosto 3 года назад +1

    💚 Love You Unity 💚
    ✔️Just Awesome ✔️

  • @3d_nahla289
    @3d_nahla289 3 года назад +1

    I have question you help me . I built game in unity and it has video player, but after I exported it in WEBGL , I missed the video it didn't play/work??? how can I fix this problem??

  • @kirilldeli7315
    @kirilldeli7315 7 лет назад +3

    3:18, Why don't u just set the color beneath Emission to dark, i set it and the video works great

    • @EricWilliamsCG
      @EricWilliamsCG 7 лет назад +1

      Or just set it as the emissive texture and set the diffuse to near black but not completely black cause even "glowing" monitors and tvs still accept some light from the surroundings.

  • @potaterjim
    @potaterjim 2 года назад +1

    Is it possible to take recordings in real time, and apply those as textures? It's one thing to assign a camera to render to a texture, but what about recording to file in real time to be replayed?

  • @Alhugen
    @Alhugen 4 года назад +2

    hey thank you very much, it was very helpful! Do you know how can I actually use this object as a source of light and to light up the environment with it and its color? right now it doesn't effect the ambient. Do you know how to do this in the HDRP? thank you!

  • @xenonguillou7105
    @xenonguillou7105 2 года назад

    Thank, if you have trouble with the screan going dark on the sun, remenber to set the Exposure weight to 0

  • @susanalopez3516
    @susanalopez3516 5 лет назад +1

    You literally save my life

  • @tairaphillip4841
    @tairaphillip4841 6 лет назад +3

    Would that work on mobile device ?

  • @pb8655
    @pb8655 2 года назад

    does this work on custom meshes? Its fine for unity planes and cubes but I have a curved tv that I made In blender and I can't see why it wont display

  • @jeffgompertz
    @jeffgompertz 2 года назад

    Hello, Is it possible to provide a current link to the Asset folder of this tutorial, it seems that the link is no longer active. The simple screening room asset illustrated here (past) with a prebuilt screen (with all materials and textures setup correctly) to display bright and clear video is not as straightforward as i had thought it would be. Thankyou

  • @redsprites5216
    @redsprites5216 2 года назад

    Can you play video in the scene editor background? Like replace the skybox background with a video?

  • @Baaldrian
    @Baaldrian 6 лет назад +1

    Is it also possible to include a live (web) cam view?

  • @NECjAR
    @NECjAR 4 года назад +1

    How to make TV glow and cast shadows?

  • @asifmuktadir9299
    @asifmuktadir9299 6 лет назад

    I am using video player component in my augmented reality project where a particular video starts to play after I click on the augmented 3d model. I followed your instructions. But I find that the video doesn't start from the very beginning. Rather it starts from somewhere in middle. How do I overcome this bug? Please help me out

  • @fatihkaanacikgoz4642
    @fatihkaanacikgoz4642 5 лет назад

    I want to develop an oculus go application using Unity Game Engine. I want to use my VR videos via internal path because VR videos size are so high. In fact, i want to use oculus go internal file path for open my video in my application. How can i access my videos filepath using unity app?

  • @mraeclo2
    @mraeclo2 4 года назад

    it works inside of unity but if I export an webGL version it does not run, the screen is black and the video don't play. II added a script to destroy the gameobject after play finishes, which works in unity editor but since it does not destroy after 3 seconds, duration of video, I am assuming the video isnt even playing. Someone having similar issue?

  • @hariskhan9498
    @hariskhan9498 5 лет назад

    My video is not adjust on the object that I used i.e a Projector screen , it shows only the some part of my video what should i do ?

  • @rosariodelpilarromerobarbo143
    @rosariodelpilarromerobarbo143 4 года назад +1

    I've done this but my video lost a lot of quality. Would anybody helo me?

  • @vivientran3035
    @vivientran3035 6 лет назад +3

    OMG I did it man! Thank you so much for your awesome tutorial! I have a question, can it work on mobile devices with Android and IOS ?
    Thank you again sir !!!

  • @aurelianobuendia24
    @aurelianobuendia24 6 лет назад

    Sound coming out of the video that is rendered as a material ? how to?

    • @FunnyTaco143
      @FunnyTaco143 6 лет назад +1

      I don't know but maybe just render the video and set audio file to it.

  • @neilchan1
    @neilchan1 4 года назад

    I have a huge issue when I build to iOS!
    For some reason the Video Player Component crashes my app instantly, even if it’s not playing a video.
    As soon as an object with a video player component is placed onto a scene, the applications just crashes and I can’t fix it..
    Tried the newest and older versions of Unity Engine but the problem still occurs
    Anyone can help me please?

  • @mnichu201
    @mnichu201 3 года назад +1

    Material override just crashes my unity :c
    edit : only when i try uning url xD

  • @NailYusupov
    @NailYusupov 3 года назад

    Thank you man!

  • @fimachou1873
    @fimachou1873 2 года назад

    Thank you so much~

  • @markusgrunbert4756
    @markusgrunbert4756 5 лет назад +2

    Important note: this will not work on Android or iOS.

    • @kesterevers3430
      @kesterevers3430 5 лет назад

      Is there an alternative?

    • @eminyilmaz7320
      @eminyilmaz7320 4 года назад

      @@kesterevers3430 what is the alternative? are you find

    • @kesterevers3430
      @kesterevers3430 4 года назад

      @@eminyilmaz7320 I'm sorry, but no. I also don't know what project I was working on that time

    • @eminyilmaz7320
      @eminyilmaz7320 4 года назад

      @@kesterevers3430 okay bro . thx for comment

    • @animalscatdogkittenpuppy
      @animalscatdogkittenpuppy Год назад

      did anyone ever find a solution for this?

  • @jtm6186
    @jtm6186 2 года назад

    Thanks!

  • @AJ-nm5fx
    @AJ-nm5fx 3 года назад

    Thanks!!

  • @YelloducVR
    @YelloducVR Год назад

    For me it’s really zoomed in

  • @izzaacalley
    @izzaacalley 3 года назад

    Now a days you can literally just drag the video onto the object and it does the rest for you

  • @ElSolitarioPerpetuo
    @ElSolitarioPerpetuo 4 года назад

    My video have lags uwu an i don't know why

  • @dimitriev7
    @dimitriev7 4 года назад

    jesus christmas
    A LOT OF WORDS FOR TWO CLICKS

  • @did3d523
    @did3d523 6 лет назад

    suspence man ! super suck

  • @beatsaway
    @beatsaway 6 лет назад +1

    nice video but please talk less..