I remember this being a whooole lot harder a few weeks back, but this video made it seem so easy! Thanks for showing the camera near plane trick, it helped me achieve the exact effect I was looking for!
How exactly would I go about projecting my image into a 3D model of a TV? Simply edit video to appear like a screen is over it, make the size of the video small enough to fit into a 3D model of a TV, and then code it to trigger video to play after entering the room or something. This is what I imagine, but yet it seems like that would be too easy…
Probably too late but maybe helpfull for others. Put your video into the render texture as shown and then use the render texture as the emissive map on your TV Screen Model. If the Video ist distorted you need to rearange the UVs of your TV front in Blender. What I did was, that I spearated the screen from the TV Mesh and scaled the UVs in a way the video wouldnt be clipped or distorted. By using the render texture as the emissive map you can still have a roughness map on top to achieve realistic reflections.
Hi. Thanks for your detailed tutorial. We have issues as though the video sound is playing, the plane does not appear. What could be the issues please? Thanks
Use the first way he showed. On the same gameobject which plays the video attach a script which can add a scene transition effect and then load the new scene or disable the object the video is on. Basically, the 2nd way is good for one-off video plays but the first gives greater control if you are integrating it into a game.
@@4Aces. I can explain my way, but just know I've only been using unity for a few days... (Used Plane for this btw) click the plane your videoplayer is in, and in the planes "Mesh Renderer" make sure "Contribute Global Illumination" is true, and "Receive Global Illumination" is on "Lightmaps"... make sure your project has post-processing installed and add some Bloom to your scene, together this will all make a nice lighting effect for your screen and will bounce some light off it that matches the color..... in my the material im using to set the video on i have Emission checked. hdr is white and color is set to my videotexture :) IF you mean actual lights that emit onto walls and stuff, your best bet would be to position some lights around the screen until you have a good effect then pick parts of your screen to read color/brightness from the pixels in that area. then set the lights to matching color/brightness to the lights per few frames or second... just know this does impact performance quite abit on lower end devices.. and if I messed up my explanation or theres a better way, just remember IM A COMPLETE NOOB in unity.
I remember this being a whooole lot harder a few weeks back, but this video made it seem so easy! Thanks for showing the camera near plane trick, it helped me achieve the exact effect I was looking for!
Simple and Direct to the point. Thanks !
This is exactly how tutorials needs to be done. Straight to the point and helpful
Thanks :)
Thank you so much, my victory screen is amazing now!!! thanks to you
I followed the same steps but the video did not move. When I press play, nothing but the default image comes up. What do you think I should do?
The codec of the video should be mpeg-4, h.264 or h.265 codecleri unityde çalışmıyor. the problem is solved
@@NailDeğirmenci-j5m I'm so happy you actually gave the solution thank you so much
Thanks man❤@@NailDeğirmenci-j5m
How exactly would I go about projecting my image into a 3D model of a TV? Simply edit video to appear like a screen is over it, make the size of the video small enough to fit into a 3D model of a TV, and then code it to trigger video to play after entering the room or something. This is what I imagine, but yet it seems like that would be too easy…
Probably too late but maybe helpfull for others. Put your video into the render texture as shown and then use the render texture as the emissive map on your TV Screen Model. If the Video ist distorted you need to rearange the UVs of your TV front in Blender. What I did was, that I spearated the screen from the TV Mesh and scaled the UVs in a way the video wouldnt be clipped or distorted.
By using the render texture as the emissive map you can still have a roughness map on top to achieve realistic reflections.
like after making a choice, I would like to display a video in full screen, directly, I have to follow these steps or I can put it another way?
If you are making the video yourself, what kinds does it need to be? I'm getting an error, something about wrong keyframe in mp4
Hmmm sus mp4 should be fine.
Excellent video Tanks men.
Hi. Thanks for your detailed tutorial. We have issues as though the video sound is playing, the plane does not appear. What could be the issues please? Thanks
A question: What if i want to change scene once the video ends?
prob use a coroutine that matches length of vid, then use scene management
Use the first way he showed. On the same gameobject which plays the video attach a script which can add a scene transition effect and then load the new scene or disable the object the video is on. Basically, the 2nd way is good for one-off video plays but the first gives greater control if you are integrating it into a game.
Can u please make a video on how to render a video from live video streams ?
Bruh tryna stream snipe in unity editor
Thanks Ahmet !
nice tutorial bro its work
Amazing!
Thank you
It takes a long time to load when i build it to webgl, how can i fix that
please, please make a video on how to implement unity ads in unity project, thankyou
I made it :)
Thank you!
im putting this video in my game
Thank you
Help. The video isn’t displaying when I hit play but audio is still there
Thanks ❤
Why doesn't work when i build on android device
me too
thanks for the tuto
thanks a lot !
What if a project excludes it how do u fix it
My video size is 1080 x 1920 which is portrait. when playing it in unity, the - 90 degree rotation occur. any solution? Thanks~
how can i add emission on it ?
hey! did you ever figure out how to do this?
@@4Aces. I can explain my way, but just know I've only been using unity for a few days...
(Used Plane for this btw) click the plane your videoplayer is in, and in the planes "Mesh Renderer" make sure "Contribute Global Illumination" is true, and "Receive Global Illumination" is on "Lightmaps"... make sure your project has post-processing installed and add some Bloom to your scene, together this will all make a nice lighting effect for your screen and will bounce some light off it that matches the color.....
in my the material im using to set the video on i have Emission checked. hdr is white and color is set to my videotexture :)
IF you mean actual lights that emit onto walls and stuff, your best bet would be to position some lights around the screen until you have a good effect then pick parts of your screen to read color/brightness from the pixels in that area. then set the lights to matching color/brightness to the lights per few frames or second...
just know this does impact performance quite abit on lower end devices..
and if I messed up my explanation or theres a better way, just remember IM A COMPLETE NOOB in unity.
Can you show how tro do the same thing, but with 360 videos? I'm getting an specific error...
What do you mean 360 videos?
Man u best
how do u put remove background video?
when i import my video it doesnt let me put it into the video clip
Tkank you
y para ponerlo en bucle?
How to implement meta audience network on unity?
Once i put a video in a folder in unity, IT GAVE ME THE WARNING