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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Make you character material less opacity

Hello guys i want my character to start transparant , so you could see through him for 10 seconds. Then i want him back full opacity 1 and you can't see through him anymore.

Anyone any idea how i can do this?

i tried this: (but i didn't work , it didn't change the Opacity Paramater)

The Event BeginPlay of the thirdpersoncharacter:

no alt text

No alt text

PS: What i did was also not nice looking i had to change material type to acces opacity, So i believe there is a better way to do this

Product Version: UE 4.15
Tags:
beginplay.png (142.1 kB)
material.png (210.0 kB)
more ▼

asked Sep 13 '17 at 03:26 PM in Rendering

avatar image

Faronoz
76 7 12 10

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

You've misspelled 'Opacity'. In your BP it's spelled 'Opac*t*ity', but your material parameter is spelled correctly as 'opacity'.

more ▼

answered Sep 13 '17 at 03:56 PM

avatar image

salm
164 2 3 6

avatar image Faronoz Sep 13 '17 at 04:19 PM

Thank you so stupid of me. But at the end i did write something it works now after 10 seconds it returns back full opacity but i don´t like it to change the material type. Now it is not being effected by sunlight i think.

look i get this and i dont like it: https://gyazo.com/f7b0e6075633a2e422d541d987b4ee2f i would like it as i descriped in the post but then without changing material types: https://gyazo.com/652bfc1176a9beb4304eb8b636495797

if someone can help me with this i would appreciate it

avatar image salm Sep 14 '17 at 01:56 PM

I looked into this a bit deeper because it's something I want as well. I've attached my BP, just extract to your content folder, drag it in, hit simulate, and wait 2 seconds. You should see the purple fade in.

I found that using a translucent material with an opacity of 1 will still show things through it. A workaround was in another similar question on answerhub: use DitherTemporalAA (an example of this is in the Material_Experimental map of ContentExamples).

So, my bp will: on begin_play start a timeline node that will start at 2 seconds to smoothly fade in opacity parameter until 4 seconds. TemporalDither0 material is just the material in ContentExamples with an 'opacity' parameter connected to the DitherTemporalAA function. After it fades in I switch materials to one without the dither (I'm not sure if this is necessary).

fade.zip (309.1 kB)
avatar image Faronoz Oct 06 '17 at 08:53 PM

sorry for this late reply but the fade materials wont show

avatar image salm Oct 07 '17 at 05:14 AM

Can you give me a bit more detail? The bp i put up was just the Content Examples with an added timeline node to animate the material.

avatar image Faronoz Oct 07 '17 at 03:55 PM

thanks a lot salm ! . it worked as i wanted. with a texture it should be the same process right? because i only work with a color

avatar image salm Oct 08 '17 at 09:35 AM

Yea, it's good to hear you got it working. I'm still not sure why something as fading in and out is so complicated. I worry that I've missed something obvious.

Just add a texture node to the 'basic color' of the material.

avatar image Faronoz Oct 10 '17 at 06:10 AM

it was not complicated , it was very simple just one node doing it. I just didn't read good where the material was now i understand

(comments are locked)
10|2000 characters needed characters left
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