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"

Changing Decal Material parameter

Hi All, I wonder if you can help me. Im trying to work out the best way to change the emissive color on a decal within a Map, which is triggered by a event.

Ive created a material which has 4 circles on it, which glows Red. if used this to create light paths all round the level, and i would like these to turn another color when the player pushes a button. Ive followed the unreal videos on dynamic materials and they work for the button, but as the decals aren't in a blueprint i don't seem away of controlling them. I've tired in the level blueprint but as there is no construction script i don't seem how todo this properly.

Any help would be appreciated.

Many Thanks

Eddie

Product Version: Not Selected
Tags:
more ▼

asked Sep 29 '14 at 08:30 AM in Rendering

avatar image

EddieEllis
41 5 7 12

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

1 answer: sort voted first

Hey EddieEllis -

The quickest and easiest way to do this is to set up a Material Parameter Collection and Assign a vector parameter to be the color of your decal material and then change the value of the MPC in your blueprint. Here is the documentation which should help you get started, https://docs.unrealengine.com/latest/INT/Engine/Rendering/Materials/ParameterCollections/index.html

Thank You and if you need further help let me know -

Eric Ketchum

more ▼

answered Sep 29 '14 at 07:08 PM

avatar image

Lovecraft_K ♦♦ STAFF
36.6k 703 260 737

avatar image EddieEllis Sep 30 '14 at 08:19 PM

Thanks Man your a legend :)

(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