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"

Sprites place in level have wrong colors

Hello,

My sprites use the 'MaskedUnlitSpriteMaterial' based on 'DefaultSpriteMaterial' and i cant get correct color when placed in my game.

Look this example:

alt text alt text

The colors are fine when i look my sprite asset in the editor. Both LIT and UNLIT mode are fine, the colors never change, and this is fine, because the material is UNLIT

but now if i place this sprite in my level look what happen, colors in LIT and UNLIT are not the same !!!

alt text alt text

My level have 0 ligth, i dont use post process volume. I dont understand why my sprite placed in level have different color between lit and unlit mode since they are based on material that is UNLIT

if this isnt a bug, can you provide me step by step how to get correct color (did i miss to disable something ?)

if this is a bug, that would help me to focus on others things and wait for a fix :o

thanks :)

Product Version: UE 4.17
Tags:
more ▼

asked Aug 19 '17 at 09:36 PM in Bug Reports

avatar image

skeleton60
620 42 59 88

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

1 answer: sort voted first

Hello,

i did my own unlit material and it is simple but it still dont give correct color

here is my material:

alt text

and difference between lit / unlit still wrong color !

alt text

lit-unlit.png (76.5 kB)
unlit.png (140.9 kB)
more ▼

answered Aug 20 '17 at 09:34 AM

avatar image

skeleton60
620 42 59 88

(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