Тёмный

Dynamic Material Instances Per Actor, Pro Tip! 

Gabriel's Unreal Menagerie
Подписаться 4,4 тыс.
Просмотров 3,2 тыс.
50% 1

Let me get you into the secret on how you just need one material instance can rule them all!!
If the option to create a dynamic material is not there it might be that you need to enable the "Virtual camera" plugin.
Don't forget to check out the Freebies!
www.artstation.com/tylerdrute...
Help us continue being Unreal!
streamelements.com/gumlives/tip
Be part of the community
►Artstation: www.artstation.com/tylerdruten
►Facebook: / gumlives
►Twitter: / gumlives

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

 

16 апр 2023

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 45   
@soulburner1982
@soulburner1982 5 месяцев назад
For those who can't find this button, it's not a part of a vanilla UE. It is a part of a "Virtual Camera" plugin. Install it and the button will appear.
@radivarig
@radivarig Месяц назад
@GUMLIVES put this info into the description please
@GUMLIVES
@GUMLIVES 23 дня назад
Ok, Ill add it.
@HussinKhan
@HussinKhan Год назад
I never knew what the button was for until today! Thank you gabe!!
@GUMLIVES
@GUMLIVES Год назад
Happy to help!
@vidayperfumes7514
@vidayperfumes7514 Год назад
Awesome, Thank you
@GUMLIVES
@GUMLIVES Год назад
Thank you for subscribing
@turningcog
@turningcog 25 дней назад
thanks , i came across this button and forgot about it for a few days and then saw it again and had to know what it did
@Skytrain84
@Skytrain84 Год назад
That is a very cool tip! That is not something I've noticed being there so thanks very much for sharing.
@GUMLIVES
@GUMLIVES Год назад
You bet!
@essamibrahiem2896
@essamibrahiem2896 Год назад
Thank you so much, this is actually very helpful tip !!!!
@GUMLIVES
@GUMLIVES Год назад
Subscribe for more!
@GUMLIVES
@GUMLIVES Год назад
Subscribe for more
@lz4090
@lz4090 Год назад
Haha this so helpful. Hehe does this have additional cost when you have several different settings for different actors but using the same material instance? Good job on the thumbnail, straight to the point. Thanks
@GUMLIVES
@GUMLIVES Год назад
Many thanks for your comment.
@user-rz6bq2ml4k
@user-rz6bq2ml4k Год назад
That's cool! But how can i find that button to 'create dynamic material'. I can't find that... And Can you tell me how to show stats override UE window like your window?
@user-om2jm3db4x
@user-om2jm3db4x Год назад
+1
@GUMLIVES
@GUMLIVES Год назад
The materials needs to be a material instance and with overrides on for the parameter you want to edit.
@GUMLIVES
@GUMLIVES Год назад
Create a material instance. Or try it with a Megascans material instance.
@VHShark
@VHShark 10 месяцев назад
Hi I also cant find the button, had Material Instance and checked the properties I want to override but still nothing. Im using 5.1. I want to change 1 property on my static mesh material.
@soulburner1982
@soulburner1982 5 месяцев назад
@@VHShark This is a part of the "Virtual Camera" plugin
@rattlesnake3d
@rattlesnake3d Год назад
First of all , thank you for sharing , do you have any info on the cost of doing this? does using dynamic material instance takes a hit on the performance somehow?
@GUMLIVES
@GUMLIVES Год назад
My guess is that as long as you have one material per actor it shouldn't be much of an impact.
@kettenotter
@kettenotter Год назад
Hey this depends on your scene: - The instance itself will take up a tiny amount of ram and vram. - The mesh will break auto instancing if you use a dynamic material (unreal will try to combine the same mesh with same material into one drawcall, nanite on the other will combine all the same materials into one draw call, even different meshes, so this might affect nanite even more) - so don't overdo it and assign it to each pebble but when your scene has only a couple here and there there should be no performance difference - if you want better performance and don't break instancing, but have a per instance control you can use "custom primitive data" in the material
@rattlesnake3d
@rattlesnake3d Год назад
@@kettenotter thanks man! :)
@dr_j0nes
@dr_j0nes 9 месяцев назад
​@@kettenottercan I use custom instanced data on a non instanced mesh?
@kettenotter
@kettenotter 9 месяцев назад
@@dr_j0nes No. There is per instance custom data which you can't use. But you can use per primitive custom data. Its a little bit confusing. For per instance custom data you need instanced static mesh (ISM) component or any of it's children. Per primitive custom data you can use on any mesh. Even on ISM but then all instanced will get the same input. But if you use it on a static mesh actor you can controll it per instance and it should still combine draw calls with unreal engines auto instancing if you don't use nanite and with nanite it should draw them in one drawcall anyway.
@iherok
@iherok Год назад
Is it correct to assume that all exposed parameters can be key-framed in sequencer?
@GUMLIVES
@GUMLIVES Год назад
Yes, but be careful that that will create another dynamic material. Is the same deal but with a different tool.
@VictorBogdan
@VictorBogdan 9 месяцев назад
Hello I don't have this button. How to add it?
@Monochrome010
@Monochrome010 8 месяцев назад
Did you found a solution?
@VictorBogdan
@VictorBogdan 8 месяцев назад
@@Monochrome010 No 🤷‍♂️
@6Kony9
@6Kony9 8 месяцев назад
Also looking for this option that I had on certain of my projects but not others... Incomprehensible! 😤 I finally tried to debug between a project that had the option and a new project without anything, and I finally found that it's a plugin that adds the option. It's the “Virtual Camera” plugin! Voilà, good luck for the future 😉
@namrog84
@namrog84 6 месяцев назад
I looked into this further. Virtual Camera uses 2 other plugins, important one being VirtualCameraCore. VirtualCameraCore uses 12 other plugins. The important one being "VirtualProductionUtilities". This VirtualProductionUtilities is the one that contains the relevant code/section for "Create Dynamic Material" if you want to include the minimal amount of indirect plugins. Since I didn't want to include everything that VirtualCamera indirectly activates. Even that one includes too many so I'm liking to rip out the materials editor module and port over to my own. tl;dr; You actually want "VirtualProductionUtilities"
@manonthedollar
@manonthedollar 10 месяцев назад
I don't have this button in 5.2 when using a Material Instance :(
@6Kony9
@6Kony9 8 месяцев назад
Also looking for this option that I had on certain of my projects but not others... Incomprehensible! 😤 I finally tried to debug between a project that had the option and a new project without anything, and I finally found that it's a plugin that adds the option. It's the “Virtual Camera” plugin! Voilà, good luck for the future 😉
@Monochrome010
@Monochrome010 8 месяцев назад
Does anyone know where this button is in 5.3.1 ?
@6Kony9
@6Kony9 8 месяцев назад
Also looking for this option that I had on certain of my projects but not others... Incomprehensible! 😤 I finally tried to debug between a project that had the option and a new project without anything, and I finally found that it's a plugin that adds the option. It's the “Virtual Camera” plugin! Voilà, good luck for the future 😉
@Fudds
@Fudds 7 месяцев назад
@@6Kony9 Thank you! This worked for me! \o/
@marcodigristina6028
@marcodigristina6028 Год назад
the purpouse of this is to not have 10 instances but just one with multiple colors on the single objects?
@GUMLIVES
@GUMLIVES Год назад
Yes, not only colors but per actor changes on every parameter override in the material instance. Although must be used after the material is done because as you see new overrides or even new parameters wont be added to the dynamic materials, until you reset it.
@carlosrivadulla8903
@carlosrivadulla8903 Год назад
Is that a 5.2 thing? Damn, that isn't even on the roadmap.
@GUMLIVES
@GUMLIVES Год назад
Nope, is there since 5.0. But now you know, hehehe.
Далее
КОРОЧЕ ГОВОРЯ, ШКОЛА БУДУЩЕГО
10:40
Happy 4th of July 😂
00:12
Просмотров 4,7 млн
Dynamic Material Instance | Unreal Engine 5
8:29
Просмотров 1 тыс.
Per-Instance Random | 5-Minute Materials [UE4/UE5]
5:51
10 Unreal Engine 5 PLUGINS I can't live without!
9:37
Просмотров 477 тыс.
UE Made Easy: Landscape Material
43:34
Просмотров 17 тыс.