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"

A bug of Material Function(Add and Multiply)

alt text I use Material Function (add and Multiply) in Material Editor. The value of input red channel is 100.

But, the output is wrong, the output is (100, 141, 141) instead of (100, 200, 200).

Is my blueprint error? Or material function error?

alt text

Product Version: UE 4.13
Tags:
ue4(2).jpg (36.0 kB)
ue4.jpg (69.7 kB)
more ▼

asked Sep 26 '16 at 02:23 AM in Bug Reports

avatar image

ccandcc
1 1 2

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

2 answers: sort voted first

Most likely your result is not matching what you expect because calculations are done in linear color space, while you are checking in sRGB.

more ▼

answered Sep 26 '16 at 08:27 AM

avatar image

Deathrey
7.8k 130 31 293

avatar image ccandcc Oct 13 '16 at 08:34 AM

@Deathrey Thank you for your reply. I set the texture to a linear color space. But it is display in sRGB space. How to display in a linear color space?

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

That looks strange, especially since you are using an unlit material. Try the following, use a vector3 parameter isntead of a texture3d parameter, try using two append instead of a multi append.alt text

capture.png (45.5 kB)
more ▼

answered Sep 26 '16 at 02:30 AM

avatar image

Night Watcher
1.7k 44 12 71

avatar image ccandcc Sep 26 '16 at 07:27 AM

Thank you for your reply. I found the reason, I use sRGB instead of linear colors.

(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