x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How do I expose material instance properties throw a static mesh?

I have a material instance that I have applied to a static mesh. I want to expose material instance's properties throw the mesh to been able to change material color, etc.

How can I do that?

Product Version: UE 4.9
Tags:
more ▼

asked Oct 11 '15 at 06:31 PM in Everything Else

avatar image

ViaCognita
30 13 21 23

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Hi man , in there i found just a readme . By the way here an example of how create some Actors, each one of them have his own dynamic instance of mymaterial, in the material i have used a PARAMETER VECTOR, not a Costant vector , and setted this Mycolor each time with a random color made up via floats.

alt text

more ▼

answered Oct 18 '15 at 09:21 AM

avatar image

Est_engine
1.2k 58 12 62

avatar image ViaCognita Oct 18 '15 at 02:38 PM

Sorry. I have forgotten to push it. You can also download Estrellas.sdf 7zipped here: https://onedrive.live.com/redir?resid=824963D17F15D247!127&authkey=!AN-slh0kvCkJYNE⁢hint=file%2c7z

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

There are Costant Material and Dynamic material , the dynamic can be edited in Runtime , you have to define them using parameters and not costant , here an example abd the docs where are all the information you need , https://docs.unrealengine.com/latest/INT/Engine/Rendering/Materials/MaterialInstances/index.html

This blueprint , at the begin , create an istance of my material , access his variable , and change his color to green. and sure , he put on my cube. alt text

more ▼

answered Oct 16 '15 at 09:28 PM

avatar image

Est_engine
1.2k 58 12 62

avatar image ViaCognita Oct 18 '15 at 06:41 AM

I have created this git repository if you want to check all the project: https://github.com/ViaCognita/Estrellas. Sorry. I have forgotten to push it. You can also download Estrellas.sdf 7zipped here: https://onedrive.live.com/redir?resid=824963D17F15D247!127&authkey=!AN-slh0kvCkJYNE⁢hint=file%2c7z

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question