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"

Why is my material appearance different in Lit and Unlit mode?

I've got a material remade from the tutorial found in the internet . I try to simulate something similar to boiling water . Material looks like this : alt text

Preview in material editor looks OK as well as material itself in Unlit Mode in the scene. The problem is that material freezes itself and changes a bit right after switching to the Lit mode. As showed in the video below:


I tried to change standard material properties but it changes nothing. Am I missing something trivial ?

Product Version: Not Selected
more ▼

asked Jul 24 '14 at 10:02 AM in Rendering

avatar image

1 3 5 6

avatar image Lovecraft_K ♦♦ STAFF Jul 24 '14 at 08:41 PM

Hey murkymurmur -

Check the tutorial you are basing this off of, but you have a translucent material which makes sense for boiling water, but you have nothing plugged into Opacity. I feel like something should be plugged there.

Thank You

Eric Ketchum

avatar image murkymurmur Jul 30 '14 at 07:36 AM

Changing opacity didn't resolved problem. As Roel wrote below emissive needs to be corrected. Thanks for effort though

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

2 answers: sort voted first

That is because there is something plugged into your emissive.

more ▼

answered Jul 27 '14 at 09:48 PM

avatar image

2.4k 69 42 141

avatar image murkymurmur Jul 30 '14 at 07:27 AM

You're right. Emissive is too extensive and it covers other material features. Will try to tweak that.


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

So here is the material literally copied like you send it to me. Just so you can see how the same stuff is done inside the material editor. I think a lot of your code is obsolete and some of it just does not make sense at all, like creating a float4 with code for each channel and later only using the x and y component. I left all that stuff in there, just so you can see the same result, and hopefully I did not forget anything.

The following things should be checked: Make sure the texture import setting sRGB is the same as in Unity. Use the material instance "Forcefield_Inst" instead of the material Forcefield on your mesh, this way you can change the Mask Power, Offset, Field Color and Pos_a all in either blueprint or c++. A MATERIAL CAN NOT BE CHANGED IN GAME, ONLY INSTANCES!

I hope you like it, and I hope I didn't screw up any of your code :P.


alt text

Download content

forcefield.zip (473.2 kB)
more ▼

answered Jul 28 '14 at 09:24 PM

avatar image

2.4k 69 42 141

avatar image phron Jul 29 '14 at 07:40 AM

Nothing to do with the question, but how do you make your blueprint capture to have it full size ?

(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