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

preview_player
Показать описание
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.

*Links to the asset store on this channel may contain affiliate tags. These will not cost you anything but may assist GameDevBits.
Рекомендации по теме
Комментарии
Автор

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"

halivudestevez
Автор

Amazing, thanks a lot! Was able to fix a bug in my own setup using your tutorial. Never stop making great videos.

flurinjenal
Автор

Thanks man, we are looking for great tutorials like that in the future, Big thanks from Syria

SYRIASTARSCHANEL
Автор

Simple and direct to the point. Thank you

Fadiabuzant
Автор

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.

XYZGameStudios
Автор

I love the video! Excellent tips and amazing results. You have a new subscriber. Keep up the good work!

gocorona
Автор

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.

xkittencatx
Автор

Helped with an issue I was having, thank you

sothisishowitreallyends
Автор

I was trying to render a tilemap on the UGUI an it just solved my problem! Thanks for your excellent work~

zhanxishi
Автор

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)

nunchuckya
Автор

Thank you so much for this tutorial. It helped me a lot

alisoroush
Автор

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?

ParisLuHv
Автор

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.

TheSixoul
Автор

works well. any way to up the quality of the camera tho? very pixaly on the edges

alexmeem
Автор

Render texture is redundant in this case.

You may just put 3d object in ui on ui layer and upscale it to be visible.

Render texture is more of tv/monitor ingame imitation.

ІгорЛисенко-жн
Автор

I’m struggling to figure out particle render queue which is making a model appear over particles

Sweets_Commander
Автор

i saw someone doing that for the whole scene

antonsimkin
Автор

On my project when android build that not show

joshchen
Автор

thanks bro nice job, I subscribed to your channel

diaryofarobot
join shbcf.ru