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"

Set Vector Parameter Value makes material always white

I want my material to change color. In order to this I'm using parameter collection. In level blueprint I use Set Vector Parameter Value to the random value and it seems to work fine (values are changing while debbuging), but object changes color once: to white, and it stays white. The same problem is, when I hardcode the color value. What's wrong with that? alt text

Product Version: Not Selected
Tags:
changecolor.png (117.9 kB)
more ▼

asked Dec 14 '14 at 12:02 PM in Blueprint Scripting

avatar image

pmlvl
78 6 14 19

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

1 answer: sort voted first

Hi there,

In UE4 the color channels go from 0 to 1 instead of 0 to 256, that may be part of the problem. Going above 1 only really affects an emmissive material to control it's strength. Try changing the max to 1 for each and see if that makes any difference.

If that doesn't help, could you also post a screenshot of the material setup? Just to make sure there isn't something else causing this. Thanks!

more ▼

answered Dec 14 '14 at 05:47 PM

avatar image

DotCam
3.1k 74 34 148

avatar image pmlvl Dec 14 '14 at 05:54 PM

Yeah, thanks, that was the problem!

(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