Тёмный

Unity3D Fast Tips - Using RenderTexture to show a 3d object in UI 

Game Dev Bits
Подписаться 1 тыс.
Просмотров 25 тыс.
50% 1

A quick guide to using a render texture to show a 3d object in your UI. This is a real-time object you can light, rotate, scale, etc as needed.
In the video I'm using a pirate ship from Synty Studios - Polygon Pirates.
Leave a comment below and let me know what you think and any content you'd love to see in future videos.
Grab yourself some amazing assets from the Unity asset store to kickstart your project: assetstore.unity.com/?aid=101...
Please like and subscribe if you'd like to see more, and you can find me on Patreon here: / gamedevbits
*Links to the asset store on this channel may contain affiliate tags. These will not cost you anything but may assist GameDevBits.

Наука

Опубликовано:

 

17 июн 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 45   
@halivudestevez2
@halivudestevez2 4 месяца назад
In 2023 Beta Unity Editor you can find the Target Texture of the camera under the Output section in the Inspector, and called "Output Texture"
@gocorona3445
@gocorona3445 Год назад
I love the video! Excellent tips and amazing results. You have a new subscriber. Keep up the good work!
@GameDevBits
@GameDevBits Год назад
Awesome! Thank you!
@Fadiabuzant
@Fadiabuzant Год назад
Simple and direct to the point. Thank you
@XYZGameStudios
@XYZGameStudios 4 месяца назад
If you use URP and you need a transparent background i think this wont work and the official Unity Thread about the fix is over 5 years old without a Solution. The most easy way is to make a screenshot and remove the background. You cant chage the rotation with this solution but if you just want the model as a picture this works.
@flurinjenal374
@flurinjenal374 7 месяцев назад
Amazing, thanks a lot! Was able to fix a bug in my own setup using your tutorial. Never stop making great videos.
@GameDevBits
@GameDevBits 7 месяцев назад
Great to hear!
@SYRIASTARSCHANEL
@SYRIASTARSCHANEL Месяц назад
Thanks man , we are looking for great tutorials like that in the future , Big thanks from Syria
@kuroyza7839
@kuroyza7839 Год назад
Excellent tips Keep it up man!
@zhanxishi645
@zhanxishi645 Год назад
I was trying to render a tilemap on the UGUI an it just solved my problem! Thanks for your excellent work~
@xkittencatx
@xkittencatx Год назад
Oh my gosh! This is a really great video! Whenever I would try to put 3D GameObjects as UIs, I would do so with two different Canvases, and then also playing around with the Camera settings. Then I would have to fumble with the layers and layerMasks. And THEN I would have to increase the size of the 3D GameObjects exponentially. This looks so much easier and seems like it would be less performance intensive.
@GameDevBits
@GameDevBits Год назад
Glad you liked it!
@nunchuckya
@nunchuckya 7 месяцев назад
Great tutorial, thanks a lot, I manage to place different animations in my 3D UI (a face of my character that changes according to whats happening in game)
@GameDevBits
@GameDevBits 6 месяцев назад
Phenomenal! You're going old school like Doom with the face!
@decayedgamesstudio
@decayedgamesstudio 5 дней назад
Nice one! Thank you!!
@alisoroush6426
@alisoroush6426 Год назад
Thank you so much for this tutorial. It helped me a lot
@GameDevBits
@GameDevBits Год назад
Im so glad it helped!
@Mrzero_clks
@Mrzero_clks 8 месяцев назад
absolutely amazing!
@Alianx
@Alianx 5 месяцев назад
Great tutorial thank you!
@yorestus
@yorestus Год назад
Thank you so much! ☺
@davitsedrakyan
@davitsedrakyan 9 месяцев назад
Great video! Saved me ton of time! :)
@GameDevBits
@GameDevBits 9 месяцев назад
That's what I love to hear!
@idontunderstandnihongoqwq940
You are my lifesaver Thanks!
@ginick
@ginick 2 месяца назад
Thanks a lot!
@nassorm5634
@nassorm5634 3 месяца назад
Life Saver! This worked perfectly
@GameDevBits
@GameDevBits 3 месяца назад
Outstanding!
@agusthings
@agusthings Год назад
Wow thats amazing thank u
@GameDevBits
@GameDevBits Год назад
You’re welcome 😊
@codyhaeys
@codyhaeys 7 месяцев назад
THANK YOU!
@dariushuang1115
@dariushuang1115 Год назад
so cool!!!
@aravinda8080
@aravinda8080 Год назад
thank you
@alexmeem6230
@alexmeem6230 Год назад
works well. any way to up the quality of the camera tho? very pixaly on the edges
@GameDevBits
@GameDevBits Год назад
You can change the resolution on your render texture to increase the quality. Just keep in mind the cost. Default res is 256x256 which might only be suitable for a very small item on screen.
@ParisLuHv
@ParisLuHv Год назад
what if i wanted to display a full inventory, with say 24 items displaying. would you create a camera for each item? or is there a way to make some sort of map?
@GameDevBits
@GameDevBits Год назад
For a bunch of items like that, I'd question if they need to be 3d. You could render them in advance and create icons. I have a free Unity tool here to do that: timps.itch.io/timpsshot
@Sweets_Commander
@Sweets_Commander 6 месяцев назад
I’m struggling to figure out particle render queue which is making a model appear over particles
@GameDevBits
@GameDevBits 6 месяцев назад
If your UI/Canvas is in Overlay mode it will be drawn at the end of the frame and always over the particles. Unity have a github project that brings particles into UGUI and sorts this out for you: github.com/mob-sakai/ParticleEffectForUGUI
@TheSixoul
@TheSixoul 2 года назад
Good video but work on keeping your volume consistent throughout the video. You go from alright volume to really loud and booming then to super quiet that it's hard to hear.
@GameDevBits
@GameDevBits 2 года назад
Really appreciate the comment! Coming off a few weeks of being unwell and Im pretty sure now I skipped the normalisation process. Thanks for watching and never hesitate to call it out if I drop the ball on stuff like that.
@janikcodes
@janikcodes Год назад
yeah that scared the shit out of me lmao
@joshchen3101
@joshchen3101 6 месяцев назад
On my project when android build that not show
@hydroweapon
@hydroweapon Год назад
thankoo
@antonsimkin
@antonsimkin 2 месяца назад
i saw someone doing that for the whole scene
@GameDevBits
@GameDevBits 2 месяца назад
Could be done for things like split screens or faking some kind of full screen post processing?
@diaryofarobot
@diaryofarobot Год назад
thanks bro nice job, I subscribed to your channel
Далее
The Power of Scriptable Objects as Middle-Men
17:41
Просмотров 117 тыс.
Unreal Engine Materials in 6 Levels of Complexity
44:12
Dear Game Developers, Stop Messing This Up!
22:19
Просмотров 682 тыс.
A new way to generate worlds (stitched WFC)
10:51
Просмотров 507 тыс.
Unity UI Toolkit in World Space
12:04
Просмотров 27 тыс.
Build a beautiful 3D open world in 5 minutes | Unity
5:57
Placing 3D objects on a Unity canvas
2:26
Просмотров 101 тыс.
сюрприз
1:00
Просмотров 1,3 млн
Эпоха Intel и AMD заканчивается?!
0:46